Device, method, and graphical user interface for navigating through an electronic document

ABSTRACT

An electronic device with a display and a touch-sensitive surface stores a document having primary content, supplementary content, and user-generated content. The device displays a representation of the document in a segmented user interface on the display. Primary content of the document is displayed in a first segment of the segmented user interface and supplementary content of the document is concurrently displayed in a second segment of the segmented user interface distinct from the first segment. The device receives a request to view user-generated content of the document. In response to the request, the device maintains display of the previously displayed primary content, ceases to display at least a portion of the previously displayed supplementary content, and displays user-generated content of the document in a third segment of the segmented user interface distinct from the first segment and the second segment.

RELATED APPLICATIONS

This application claims priority to U.S. Provisional Application Ser.No. 61/435,781, filed Jan. 24, 2011, entitled “Device, Method, andGraphical User Interface for Navigating through an Electronic Document,”which is incorporated by reference herein in its entirety.

This application is related to the following: (1) U.S. application Ser.No. 13/077,850, filed Mar. 31, 2011, entitled “Device, Method, andGraphical User Interface for Navigating through an Electronic Document”;(2) U.S. application Ser. No. 13/077,855, filed Mar. 31, 2011, entitled“Device, Method, and Graphical User Interface for Navigating through anElectronic Document”; (3) U.S. application Ser. No. 13/077,862, filedMar. 31, 2011, entitled “Device, Method, and Graphical User Interfacefor Navigating through an Electronic Document”; and (4) U.S. applicationSer. No. 13/077,874, filed Mar. 31, 2011, entitled “Device, Method, andGraphical User Interface for Navigating through an Electronic Document”;which are incorporated by reference herein in their entirety.

TECHNICAL FIELD

This relates generally to electronic devices with touch-sensitivesurfaces, including but not limited to electronic devices withtouch-sensitive surfaces that display electronic documents.

BACKGROUND

The use of touch-sensitive surfaces as input devices for computers andother electronic computing devices has increased significantly in recentyears. Exemplary touch-sensitive surfaces include touch pads and touchscreen displays. Such surfaces are widely used to manipulate electronicdocuments on a display.

For electronic devices with touch-sensitive surfaces, existing methodsfor navigating through electronic documents are cumbersome andinefficient. In addition, existing methods take longer than necessary,thereby wasting energy. This latter consideration is particularlyimportant in battery-operated devices.

SUMMARY

Accordingly, there is a need for electronic devices with faster, moreefficient methods and interfaces for navigating through an electronicdocument. Such methods and interfaces may complement or replaceconventional methods for navigating through an electronic document. Suchmethods and interfaces reduce the cognitive burden on a user and producea more efficient human-machine interface. For battery-operated devices,such methods and interfaces conserve power and increase the time betweenbattery charges.

The above deficiencies and other problems associated with userinterfaces for electronic devices with touch-sensitive surfaces arereduced or eliminated by the disclosed devices. In some embodiments, thedevice is a desktop computer. In some embodiments, the device isportable (e.g., a notebook computer, tablet computer, or handhelddevice). In some embodiments, the device has a touchpad. In someembodiments, the device has a touch-sensitive display (also known as a“touch screen” or “touch screen display”). In some embodiments, thedevice has a graphical user interface (GUI), one or more processors,memory and one or more modules, programs or sets of instructions storedin the memory for performing multiple functions. In some embodiments,the user interacts with the GUI primarily through finger contacts andgestures on the touch-sensitive surface. In some embodiments, thefunctions may include image editing, drawing, presenting, wordprocessing, website creating, disk authoring, spreadsheet making, gameplaying, telephoning, video conferencing, e-mailing, instant messaging,workout support, digital photographing, digital videoing, web browsing,digital music playing, and/or digital video playing. Executableinstructions for performing these functions may be included in anon-transitory computer readable storage medium or other computerprogram product configured for execution by one or more processors.

In accordance with some embodiments, a method is performed at anelectronic device with a display and a touch-sensitive surface. Themethod includes storing a document having primary content, supplementarycontent, and user-generated content. The method also includes displayinga representation of the document in a segmented user interface on thedisplay. The primary content of the document is displayed in a firstsegment of the segmented user interface, and the supplementary contentof the document is concurrently displayed in a second segment of thesegmented user interface distinct from the first segment. The methodincludes receiving a request to view user-generated content of thedocument. The method furthermore includes, in response to the request:maintaining display of the previously displayed primary content, ceasingto display at least a portion of the previously displayed supplementarycontent, and displaying user-generated content of the document in athird segment of the segmented user interface distinct from the firstsegment and the second segment.

In accordance with some embodiments, an electronic device includes adisplay, a touch-sensitive surface, one or more processors, memory, andone or more programs. The one or more programs are stored in the memoryand configured to be executed by the one or more processors. The one ormore programs include instructions for storing a document having primarycontent, supplementary content, and user-generated content. The one ormore programs also include instructions for displaying a representationof the document in a segmented user interface on the display. Theprimary content of the document is displayed in a first segment of thesegmented user interface, and the supplementary content of the documentis concurrently displayed in a second segment of the segmented userinterface distinct from the first segment. The one or more programsinclude instructions for receiving a request to view user-generatedcontent of the document. The one or more programs furthermore includeinstructions for, in response to the request: maintaining display of thepreviously displayed primary content, ceasing to display at least aportion of the previously displayed supplementary content, anddisplaying user-generated content of the document in a third segment ofthe segmented user interface distinct from the first segment and thesecond segment.

In accordance with some embodiments, a computer readable storage mediumhas stored therein instructions, which, when executed by an electronicdevice with a display and a touch-sensitive surface, cause the device tostore a document having primary content, supplementary content, anduser-generated content. The instructions also cause the device todisplay a representation of the document in a segmented user interfaceon the display. The primary content of the document is displayed in afirst segment of the segmented user interface, and the supplementarycontent of the document is concurrently displayed in a second segment ofthe segmented user interface distinct from the first segment. Theinstructions cause the device to receive a request to viewuser-generated content of the document. The instructions furthermorecause the device to, in response to the request: maintain display of thepreviously displayed primary content, cease to display at least aportion of the previously displayed supplementary content, and displayuser-generated content of the document in a third segment of thesegmented user interface distinct from the first segment and the secondsegment.

In accordance with some embodiments, a graphical user interface on anelectronic device with a display, a touch-sensitive surface, a memory,and one or more processors to execute one or more programs stored in thememory includes a representation of a document in a segmented userinterface. The document has primary content, supplementary content, anduser-generated content. The primary content of the document is displayedin a first segment of the segmented user interface, and thesupplementary content of the document is concurrently displayed in asecond segment of the segmented user interface distinct from the firstsegment. In response to receiving a request to view user-generatedcontent of the document, display of the previously displayed primarycontent is maintained, at least a portion of the previously displayedsupplementary content ceases to be displayed, and user-generated contentof the document is displayed in a third segment of the segmented userinterface distinct from the first segment and the second segment.

In accordance with some embodiments, an electronic device includes: adisplay; a touch-sensitive surface; and means for storing a documenthaving primary content, supplementary content, and user-generatedcontent. The electronic device also includes means for displaying arepresentation of the document in a segmented user interface on thedisplay. The primary content of the document is displayed in a firstsegment of the segmented user interface, and the supplementary contentof the document is concurrently displayed in a second segment of thesegmented user interface distinct from the first segment. The electronicdevice includes means for receiving a request to view user-generatedcontent of the document. The electronic device furthermore includesmeans, enabled in response to the request, including: means formaintaining display of the previously displayed primary content, meansfor ceasing to display at least a portion of the previously displayedsupplementary content, and means for displaying user-generated contentof the document in a third segment of the segmented user interfacedistinct from the first segment and the second segment.

In accordance with some embodiments, an information processing apparatusfor use in an electronic device with a display and a touch-sensitivesurface includes means for storing a document having primary content,supplementary content, and user-generated content. The informationprocessing apparatus also includes means for displaying a representationof the document in a segmented user interface on the display. Theprimary content of the document is displayed in a first segment of thesegmented user interface, and the supplementary content of the documentis concurrently displayed in a second segment of the segmented userinterface distinct from the first segment. The information processingapparatus includes means for receiving a request to view user-generatedcontent of the document. The information processing apparatusfurthermore includes means, enabled in response to the request,including: means for maintaining display of the previously displayedprimary content, means for ceasing to display at least a portion of thepreviously displayed supplementary content, and means for displayinguser-generated content of the document in a third segment of thesegmented user interface distinct from the first segment and the secondsegment.

In accordance with some embodiments, a method is performed at anelectronic device with a display and a touch-sensitive surface. Themethod includes storing a document having primary content andsupplementary content, and displaying content of the document in a firstdisplay mode of a document presentation application. The supplementarycontent is visually integrated with the primary content in the firstdisplay mode. The method also includes: while displaying content of thedocument in the first display mode, receiving a request to displaycontent of the document in a second display mode of the documentpresentation application, and in response to the request, displayingcontent of the document in the second display mode. The representationsof the supplementary content are visually segregated from the primarycontent in the second display mode.

In accordance with some embodiments, an electronic device includes adisplay, a touch-sensitive surface, one or more processors, memory, andone or more programs. The one or more programs are stored in the memoryand configured to be executed by the one or more processors. The one ormore programs include instructions for: storing a document havingprimary content and supplementary content, and displaying content of thedocument in a first display mode of a document presentation application.The supplementary content is visually integrated with the primarycontent in the first display mode. The one or more programs also includeinstructions for: while displaying content of the document in the firstdisplay mode, receiving a request to display content of the document ina second display mode of the document presentation application, and inresponse to the request, displaying content of the document in thesecond display mode. The representations of the supplementary contentare visually segregated from the primary content in the second displaymode.

In accordance with some embodiments, a computer readable storage mediumhas stored therein instructions, which, when executed by an electronicdevice with a display and a touch-sensitive surface, cause the deviceto: store a document having primary content and supplementary content,and display content of the document in a first display mode of adocument presentation application. The supplementary content is visuallyintegrated with the primary content in the first display mode. Theinstructions also cause the device to: while displaying content of thedocument in the first display mode, receive a request to display contentof the document in a second display mode of the document presentationapplication; and in response to the request, display content of thedocument in the second display mode. The representations of thesupplementary content are visually segregated from the primary contentin the second display mode.

In accordance with some embodiments, a graphical user interface on anelectronic device with a display, a touch-sensitive surface, a memory,and one or more processors to execute one or more programs stored in thememory includes content of a document in a first display mode of adocument presentation application. The document has primary content andsupplementary content, and the supplementary content is visuallyintegrated with the primary content in the first display mode. Whiledisplaying content of the document in the first display mode, inresponse to receiving a request to display content of the document in asecond display mode of the document presentation application, content ofthe document is displayed in the second display mode. Therepresentations of the supplementary content are visually segregatedfrom the primary content in the second display mode.

In accordance with some embodiments, an electronic device includes: adisplay; a touch-sensitive surface; means for storing a document havingprimary content and supplementary content; and means for displayingcontent of the document in a first display mode of a documentpresentation application. The supplementary content is visuallyintegrated with the primary content in the first display mode. Theelectronic device also includes: means, enabled while displaying contentof the document in the first display mode, for receiving a request todisplay content of the document in a second display mode of the documentpresentation application; and means, enabled in response to the request,for displaying content of the document in the second display mode. Therepresentations of the supplementary content are visually segregatedfrom the primary content in the second display mode.

In accordance with some embodiments, an information processing apparatusfor use in an electronic device with a display and a touch-sensitivesurface includes: means for storing a document having primary contentand supplementary content; and means for displaying content of thedocument in a first display mode of a document presentation application.The supplementary content is visually integrated with the primarycontent in the first display mode. The information processing apparatusalso includes: means, enabled while displaying content of the documentin the first display mode, for receiving a request to display content ofthe document in a second display mode of the document presentationapplication, and means, enabled in response to the request, fordisplaying content of the document in the second display mode. Therepresentations of the supplementary content are visually segregatedfrom the primary content in the second display mode.

In accordance with some embodiments, a method is performed at anelectronic device with a display and a touch-sensitive surface. Themethod includes storing a document having a plurality of features havingrespective locations within the document. The plurality of featuresincludes features of a first feature type in a first sequence andfeatures of a second feature type in a second sequence. The secondfeature type is distinct from the first feature type. The method alsoincludes: displaying at least a portion of the document on the display;and detecting a first gesture on the touch-sensitive surface. The methodincludes, in response to detecting the first gesture: in accordance witha determination that the first gesture is a single contact gesture,navigating to a portion of the document that includes or is locatedproximate to a sequentially adjacent feature of the first feature typein the document; and in accordance with a determination that the firstgesture is a multi-contact gesture with a first predefined number ofcontacts, navigating to a portion of the document that includes or islocated proximate to a sequentially adjacent feature of the secondfeature type in the document.

In accordance with some embodiments, an electronic device includes adisplay, a touch-sensitive surface, one or more processors, memory, andone or more programs. The one or more programs are stored in the memoryand configured to be executed by the one or more processors. The one ormore programs include instructions for storing a document having aplurality of features having respective locations within the document.The plurality of features includes features of a first feature type in afirst sequence and features of a second feature type in a secondsequence. The second feature type is distinct from the first featuretype. The one or more programs also include instructions for: displayingat least a portion of the document on the display; and detecting a firstgesture on the touch-sensitive surface. The one or more programs includeinstructions for, in response to detecting the first gesture: inaccordance with a determination that the first gesture is a singlecontact gesture, navigating to a portion of the document that includesor is located proximate to a sequentially adjacent feature of the firstfeature type in the document; and in accordance with a determinationthat the first gesture is a multi-contact gesture with a firstpredefined number of contacts, navigating to a portion of the documentthat includes or is located proximate to a sequentially adjacent featureof the second feature type in the document.

In accordance with some embodiments, a computer readable storage mediumhas stored therein instructions, which, when executed by an electronicdevice with a display and a touch-sensitive surface, cause the device tostore a document having a plurality of features having respectivelocations within the document. The plurality of features includesfeatures of a first feature type in a first sequence and features of asecond feature type in a second sequence. The second feature type isdistinct from the first feature type. The instructions also cause thedevice to: display at least a portion of the document on the display;and detect a first gesture on the touch-sensitive surface. Theinstructions cause the device to, in response to detecting the firstgesture: in accordance with a determination that the first gesture is asingle contact gesture, navigate to a portion of the document thatincludes or is located proximate to a sequentially adjacent feature ofthe first feature type in the document; and in accordance with adetermination that the first gesture is a multi-contact gesture with afirst predefined number of contacts, navigate to a portion of thedocument that includes or is located proximate to a sequentiallyadjacent feature of the second feature type in the document.

In accordance with some embodiments, a graphical user interface on anelectronic device with a display, a touch-sensitive surface, a memory,and one or more processors to execute one or more programs stored in thememory includes display of at least a portion of a document. Thedocument has a plurality of features having respective locations withinthe document, and the plurality of features includes features of a firstfeature type in a first sequence and features of a second feature typein a second sequence. The second feature type is distinct from the firstfeature type. In response to detecting a first gesture on thetouch-sensitive surface: in accordance with a determination that thefirst gesture is a single contact gesture, the document is navigated toa portion of the document that includes or is located proximate to asequentially adjacent feature of the first feature type in the document;and in accordance with a determination that the first gesture is amulti-contact gesture with a first predefined number of contacts, thedocument is navigated to a portion of the document that includes or islocated proximate to a sequentially adjacent feature of the secondfeature type in the document.

In accordance with some embodiments, an electronic device includes: adisplay; a touch-sensitive surface; means for storing a document havinga plurality of features having respective locations within the document.The plurality of features includes features of a first feature type in afirst sequence and features of a second feature type in a secondsequence. The second feature type is distinct from the first featuretype. The electronic device also includes: means for displaying at leasta portion of the document on the display; and means for detecting afirst gesture on the touch-sensitive surface. The electronic deviceincludes means, enabled in response to detecting the first gesture,including: means, enabled in accordance with a determination that thefirst gesture is a single contact gesture, for navigating to a portionof the document that includes or is located proximate to a sequentiallyadjacent feature of the first feature type in the document; and means,enabled in accordance with a determination that the first gesture is amulti-contact gesture with a first predefined number of contacts, fornavigating to a portion of the document that includes or is locatedproximate to a sequentially adjacent feature of the second feature typein the document.

In accordance with some embodiments, an information processing apparatusfor use in an electronic device with a display and a touch-sensitivesurface includes means for storing a document having a plurality offeatures having respective locations within the document. The pluralityof features includes features of a first feature type in a firstsequence and features of a second feature type in a second sequence. Thesecond feature type is distinct from the first feature type. Theinformation processing apparatus also includes: means for displaying atleast a portion of the document on the display; and means for detectinga first gesture on the touch-sensitive surface. The informationprocessing apparatus includes means, enabled in response to detectingthe first gesture, including: means, enabled in accordance with adetermination that the first gesture is a single contact gesture, fornavigating to a portion of the document that includes or is locatedproximate to a sequentially adjacent feature of the first feature typein the document; and means, enabled in accordance with a determinationthat the first gesture is a multi-contact gesture with a firstpredefined number of contacts, for navigating to a portion of thedocument that includes or is located proximate to a sequentiallyadjacent feature of the second feature type in the document.

In accordance with some embodiments, a method is performed at anelectronic device with a display and a touch-sensitive surface. Themethod includes displaying a portion of a multi-segment document. Afirst set of segments of the multi-segment document each have one ormore respective annotations, and a second set of segments of themulti-segment document do not have annotations. The method also include:detecting a predefined gesture on the touch-sensitive surface; and inresponse to detecting the predefined gesture, displaying an array ofsegment representations that includes only representations of segmentsin the first set of segments. A plurality of respective segmentrepresentations in the array of segment representations each include avisual indication of a respective annotation associated with therespective segment for the respective segment representation.

In accordance with some embodiments, an electronic device includes adisplay, a touch-sensitive surface, one or more processors, memory, andone or more programs. The one or more programs are stored in the memoryand configured to be executed by the one or more processors. The one ormore programs include instructions for displaying a portion of amulti-segment document. A first set of segments of the multi-segmentdocument each have one or more respective annotations, and a second setof segments of the multi-segment document do not have annotations. Theone or more programs also include instructions for: detecting apredefined gesture on the touch-sensitive surface; and in response todetecting the predefined gesture, displaying an array of segmentrepresentations that includes only representations of segments in thefirst set of segments. A plurality of respective segment representationsin the array of segment representations each include a visual indicationof a respective annotation associated with the respective segment forthe respective segment representation.

In accordance with some embodiments, a computer readable storage mediumhas stored therein instructions, which, when executed by an electronicdevice with a display and a touch-sensitive surface, cause the device todisplay a portion of a multi-segment document. A first set of segmentsof the multi-segment document each have one or more respectiveannotations, and a second set of segments of the multi-segment documentdo not have annotations. The instructions also cause the device to:detect a predefined gesture on the touch-sensitive surface; and inresponse to detecting the predefined gesture, display an array ofsegment representations that includes only representations of segmentsin the first set of segments. A plurality of respective segmentrepresentations in the array of segment representations each include avisual indication of a respective annotation associated with therespective segment for the respective segment representation.

In accordance with some embodiments, a graphical user interface on anelectronic device with a display, a touch-sensitive surface, a memory,and one or more processors to execute one or more programs stored in thememory includes a portion of a multi-segment document. A first set ofsegments of the multi-segment document each have one or more respectiveannotations, and a second set of segments of the multi-segment documentdo not have annotations. In response to detecting a predefined gestureon the touch-sensitive surface, an array of segment representations thatincludes only representations of segments in the first set of segmentsis displayed. A plurality of respective segment representations in thearray of segment representations each include a visual indication of arespective annotation associated with the respective segment for therespective segment representation.

In accordance with some embodiments, an electronic device includes: adisplay; a touch-sensitive surface; and means for displaying a portionof a multi-segment document. A first set of segments of themulti-segment document each have one or more respective annotations, anda second set of segments of the multi-segment document do not haveannotations. The electronic device also includes: means for detecting apredefined gesture on the touch-sensitive surface; and means, enabled inresponse to detecting the predefined gesture, for displaying an array ofsegment representations that includes only representations of segmentsin the first set of segments. A plurality of respective segmentrepresentations in the array of segment representations each include avisual indication of a respective annotation associated with therespective segment for the respective segment representation.

In accordance with some embodiments, an information processing apparatusfor use in an electronic device with a display and a touch-sensitivesurface includes means for displaying a portion of a multi-segmentdocument. A first set of segments of the multi-segment document eachhave one or more respective annotations, and a second set of segments ofthe multi-segment document do not have annotations. The informationprocessing apparatus also includes: means for detecting a predefinedgesture on the touch-sensitive surface; and means, enabled in responseto detecting the predefined gesture, for displaying an array of segmentrepresentations that includes only representations of segments in thefirst set of segments. A plurality of respective segment representationsin the array of segment representations each include a visual indicationof a respective annotation associated with the respective segment forthe respective segment representation.

In accordance with some embodiments, a method is performed at anelectronic device with a display and a touch-sensitive surface. Themethod includes: concurrently displaying a first portion of a documentand a navigation bar for navigating through the document; and detectinga gesture at a location on the touch-sensitive surface that correspondsto a portion of the navigation bar associated with a second portion ofthe document. The second portion of the document includes a respectiveannotation. The method also includes, in response to detecting thegesture, while continuing to display the first portion of the document,displaying, at a location proximate to the portion of the navigationbar, a representation of the second portion of the document thatincludes a representation of the respective annotation.

In accordance with some embodiments, an electronic device includes adisplay, a touch-sensitive surface, one or more processors, memory, andone or more programs. The one or more programs are stored in the memoryand configured to be executed by the one or more processors. The one ormore programs include instructions for: concurrently displaying a firstportion of a document and a navigation bar for navigating through thedocument; and detecting a gesture at a location on the touch-sensitivesurface that corresponds to a portion of the navigation bar associatedwith a second portion of the document. The second portion of thedocument includes a respective annotation. The one or more programs alsoinclude instructions for, in response to detecting the gesture, whilecontinuing to display the first portion of the document, displaying, ata location proximate to the portion of the navigation bar, arepresentation of the second portion of the document that includes arepresentation of the respective annotation.

In accordance with some embodiments, a computer readable storage mediumhas stored therein instructions, which, when executed by an electronicdevice with a display and a touch-sensitive surface, cause the deviceto: concurrently display a first portion of a document and a navigationbar for navigating through the document; and detect a gesture at alocation on the touch-sensitive surface that corresponds to a portion ofthe navigation bar associated with a second portion of the document. Thesecond portion of the document includes a respective annotation. Theinstructions also cause the device to, in response to detecting thegesture, while continuing to display the first portion of the document,display, at a location proximate to the portion of the navigation bar, arepresentation of the second portion of the document that includes arepresentation of the respective annotation.

In accordance with some embodiments, a graphical user interface on anelectronic device with a display, a touch-sensitive surface, a memory,and one or more processors to execute one or more programs stored in thememory includes concurrent display of: a first portion of a document anda navigation bar for navigating through the document. In response todetecting a gesture at a location on the touch-sensitive surface thatcorresponds to a portion of the navigation bar associated with a secondportion of the document (the second portion of the document includes arespective annotation), a representation of the second portion of thedocument that includes a representation of the respective annotation isdisplayed while continuing to display the first portion of the document,at a location proximate to the portion of the navigation bar.

In accordance with some embodiments, an electronic device includes: adisplay; a touch-sensitive surface; means for concurrently displaying afirst portion of a document and a navigation bar for navigating throughthe document; and means for detecting a gesture at a location on thetouch-sensitive surface that corresponds to a portion of the navigationbar associated with a second portion of the document. The second portionof the document includes a respective annotation. The electronic deviceincludes means, enabled in response to detecting the gesture, whilecontinuing to display the first portion of the document, for displaying,at a location proximate to the portion of the navigation bar, arepresentation of the second portion of the document that includes arepresentation of the respective annotation.

In accordance with some embodiments, an information processing apparatusfor use in an electronic device with a display and a touch-sensitivesurface includes: means for concurrently displaying a first portion of adocument and a navigation bar for navigating through the document; andmeans for detecting a gesture at a location on the touch-sensitivesurface that corresponds to a portion of the navigation bar associatedwith a second portion of the document. The second portion of thedocument includes a respective annotation. The information processingapparatus also includes means, enabled in response to detecting thegesture, while continuing to display the first portion of the document,for displaying, at a location proximate to the portion of the navigationbar, a representation of the second portion of the document thatincludes a representation of the respective annotation.

In accordance with some embodiments, an electronic device includes astorage unit configured to store a document having primary content,supplementary content, and user-generated content; and a display unitconfigured to display a representation of the document in a segmenteduser interface. The primary content of the document is displayed in afirst segment of the segmented user interface and the supplementarycontent of the document is concurrently displayed in a second segment ofthe segmented user interface distinct from the first segment. Theelectronic device also includes a touch-sensitive surface unitconfigured to receive a request to view user-generated content of thedocument; and a processing unit coupled to the storage unit, the displayunit, and the touch-sensitive surface unit. The processing unit isconfigured to, in response to the request: maintain display of thepreviously displayed primary content on the display unit; cease todisplay at least a portion of the previously displayed supplementarycontent on the display unit; and enable display of user-generatedcontent of the document in a third segment of the segmented userinterface distinct from the first segment and the second segment on thedisplay unit.

In accordance with some embodiments, an electronic device includes astorage unit configured to store a document having primary content andsupplementary content; and a display unit configured to display contentof the document in a first display mode of a document presentationapplication. The supplementary content is visually integrated with theprimary content in the first display mode. The electronic device alsoincludes a touch-sensitive surface unit configured to receive userinput; and a processing unit coupled to the storage unit, the displayunit, and the touch-sensitive surface unit. The processing unit isconfigured to: while the display unit displays content of the documentin the first display mode, receive a request to display content of thedocument in a second display mode of the document presentationapplication; and, in response to the request, enable display of contentof the document in the second display mode on the display unit. Therepresentations of the supplementary content are visually segregatedfrom the primary content in the second display mode.

In accordance with some embodiments, an electronic device includes astorage unit configured to store a document having a plurality offeatures having respective locations within the document. The pluralityof features includes features of a first feature type in a firstsequence and features of a second feature type in a second sequence. Thesecond feature type is distinct from the first feature type. Theelectronic device also includes a display unit configured to display atleast a portion of the document; a touch-sensitive surface unitconfigured to detect a first gesture; and a processing unit coupled tothe storage unit, the display unit, and the touch-sensitive surfaceunit. The processing unit is configured to, in response to detecting thefirst gesture: in accordance with a determination that the first gestureis a single contact gesture, navigate to a portion of the document thatincludes or is located proximate to a sequentially adjacent feature ofthe first feature type in the document; and in accordance with adetermination that the first gesture is a multi-contact gesture with afirst predefined number of contacts, navigate to a portion of thedocument that includes or is located proximate to a sequentiallyadjacent feature of the second feature type in the document.

In accordance with some embodiments, an electronic device includes adisplay unit configured to display a portion of a multi-segmentdocument. A first set of segments of the multi-segment document eachhave one or more respective annotations and a second set of segments ofthe multi-segment document do not have annotations. The electronicdevice also includes a touch-sensitive surface unit configured to detecta predefined gesture; and a processing unit coupled to the display unitand the touch-sensitive surface unit. The processing unit is configuredto, in response to detecting the predefined gesture, enable display ofan array of segment representations that includes only representationsof segments in the first set of segments. A plurality of respectivesegment representations in the array of segment representations eachinclude a visual indication of a respective annotation associated withthe respective segment for the respective segment representation.

In accordance with some embodiments, an electronic device includes adisplay unit configured to concurrently display a first portion of adocument and a navigation bar for navigating through the document; and atouch-sensitive surface unit configured to detect a gesture at alocation on the touch-sensitive surface unit that corresponds to aportion of the navigation bar associated with a second portion of thedocument. The second portion of the document includes a respectiveannotation. The electronic device also includes a processing unitcoupled to the display unit and the touch-sensitive surface unit. Theprocessing unit is configured to, in response to detecting the gesture,while continuing to enable display of the first portion of the documenton the display unit, enable display, at a location proximate to theportion of the navigation bar, on the display unit of a representationof the second portion of the document that includes a representation ofthe respective annotation.

Thus, electronic devices with displays and touch-sensitive surfaces areprovided with faster, more efficient methods and interfaces fornavigating through an electronic document, thereby increasing theeffectiveness, efficiency, and user satisfaction with such devices. Suchmethods and interfaces may complement or replace conventional methodsfor navigating through an electronic document.

BRIEF DESCRIPTION OF THE DRAWINGS

For a better understanding of the aforementioned embodiments of theinvention as well as additional embodiments thereof, reference should bemade to the Description of Embodiments below, in conjunction with thefollowing drawings in which like reference numerals refer tocorresponding parts throughout the figures.

FIG. 1A is a block diagram illustrating a portable multifunction devicewith a touch-sensitive display in accordance with some embodiments.

FIG. 1B is a block diagram illustrating exemplary components for eventhandling in accordance with some embodiments.

FIG. 2 illustrates a portable multifunction device having a touch screenin accordance with some embodiments.

FIG. 3 is a block diagram of an exemplary multifunction device with adisplay and a touch-sensitive surface in accordance with someembodiments.

FIG. 4A illustrates an exemplary user interface for a menu ofapplications on a portable multifunction device in accordance with someembodiments.

FIG. 4B illustrates an exemplary user interface for a multifunctiondevice with a touch-sensitive surface that is separate from the displayin accordance with some embodiments.

FIGS. 5A-5P illustrate exemplary user interfaces for navigating throughan electronic document in accordance with some embodiments.

FIGS. 6A-6C are flow diagrams illustrating a method of displayingprimary content, supplementary content, and user-generated content in asegmented user interface for an electronic document in accordance withsome embodiments.

FIGS. 7A-7C are flow diagrams illustrating a method of displayingprimary and supplementary content in an electronic document in visuallyintegrated and visually segregated display modes in accordance with someembodiments.

FIG. 8 is a flow diagram illustrating a method of navigating through anelectronic document with single contact and multi-contact gestures inaccordance with some embodiments.

FIG. 9 is a flow diagram illustrating a method of displaying an array ofannotated segment representations in accordance with some embodiments.

FIG. 10 is a flow diagram illustrating a method of navigating through anelectronic document with a navigation bar in accordance with someembodiments.

FIG. 11 is a functional block diagram of an electronic device inaccordance with some embodiments.

FIG. 12 is a functional block diagram of an electronic device inaccordance with some embodiments.

FIG. 13 is a functional block diagram of an electronic device inaccordance with some embodiments.

FIG. 14 is a functional block diagram of an electronic device inaccordance with some embodiments.

FIG. 15 is a functional block diagram of an electronic device inaccordance with some embodiments.

DESCRIPTION OF EMBODIMENTS

Electronic documents, such as digital books, newspapers and magazines,offer the possibility of enhanced reading experiences, beyond whatconventional paper-based documents can provide. In addition to primarycontent (e.g., text), electronic documents may also incorporatesupplemental content (e.g., multimedia content such as pictures,figures, movies, slide presentations, animations, HTML 5 widgets, movingphotos, etc.) and user-generated content (e.g., user notes,highlighting, and other annotations). But the electronic devices used toview and interact with electronic documents (e.g., tablet computers,smart phones, and other portable devices) often have limited screenareas to display electronic documents. This limited screen area makes itchallenging for the user to view the various types of content inelectronic documents in an efficient manner. Furthermore, conventionalelectronic devices offer limited methods of navigating through anelectronic document (e.g., scrolling), which is inefficient and wastesenergy. The embodiments described below address various problemsinteracting with electronic documents that have not been recognizedand/or properly addressed, such as:

-   -   how to display primary content, supplemental content, and        user-generated content to facilitate user interaction;    -   how to display content in different device orientations (e.g.,        portrait versus landscape orientation) to facilitate different        types of reading;    -   how to quickly and easily navigate an electronic document        page-by-page, chapter-by chapter, or annotation-by-annotation;    -   how to quickly see just the user-annotated pages in an        electronic document; and    -   how to quickly find user annotations with a navigation bar.

The embodiments described below address these issues and related issues.The devices and methods described below provide a user-friendlyenvironment that empowers a user to efficiently navigate through andinteract with primary, supplemental, and user-generated content inelectronic documents.

Below, FIGS. 1A-1B, 2, and 3 provide a description of exemplary devices.FIGS. 4A-4B and 5A-5P illustrate exemplary user interfaces fornavigating through, and displaying various content of, an electronicdocument. FIGS. 6A-6C, 7A-7C, and 8-10 are flow diagrams illustratingmethods of navigating through an electronic document. The userinterfaces in FIGS. 5A-5P are used to illustrate the processes in FIGS.6A-6C, 7A-7C, and 8-10. FIGS. 11-15 illustrate electronic devices forperforming the methods described in FIGS. 6A-6C, 7A-7C, and 8-10.

Exemplary Devices

Reference will now be made in detail to embodiments, examples of whichare illustrated in the accompanying drawings. In the following detaileddescription, numerous specific details are set forth in order to providea thorough understanding of the present invention. However, it will beapparent to one of ordinary skill in the art that the present inventionmay be practiced without these specific details. In other instances,well-known methods, procedures, components, circuits, and networks havenot been described in detail so as not to unnecessarily obscure aspectsof the embodiments.

It will also be understood that, although the terms first, second, etc.may be used herein to describe various elements, these elements shouldnot be limited by these terms. These terms are only used to distinguishone element from another. For example, a first contact could be termed asecond contact, and, similarly, a second contact could be termed a firstcontact, without departing from the scope of the present invention. Thefirst contact and the second contact are both contacts, but they are notthe same contact.

The terminology used in the description of the invention herein is forthe purpose of describing particular embodiments only and is notintended to be limiting of the invention. As used in the description ofthe invention and the appended claims, the singular forms “a”, “an” and“the” are intended to include the plural forms as well, unless thecontext clearly indicates otherwise. It will also be understood that theterm “and/or” as used herein refers to and encompasses any and allpossible combinations of one or more of the associated listed items. Itwill be further understood that the terms “includes,” “including,”“comprises,” and/or “comprising,” when used in this specification,specify the presence of stated features, integers, steps, operations,elements, and/or components, but do not preclude the presence oraddition of one or more other features, integers, steps, operations,elements, components, and/or groups thereof.

As used herein, the term “if” may be construed to mean “when” or “upon”or “in response to determining” or “in response to detecting,” dependingon the context. Similarly, the phrase “if it is determined” or “if [astated condition or event] is detected” may be construed to mean “upondetermining” or “in response to determining” or “upon detecting [thestated condition or event]” or “in response to detecting [the statedcondition or event],” depending on the context.

Embodiments of electronic devices, user interfaces for such devices, andassociated processes for using such devices are described. In someembodiments, the device is a portable communications device, such as amobile telephone, that also contains other functions, such as PDA and/ormusic player functions. Exemplary embodiments of portable multifunctiondevices include, without limitation, the iPhone®, iPod Touch®, and iPad®devices from Apple Inc. of Cupertino, Calif. Other portable electronicdevices, such as laptops or tablet computers with touch-sensitivesurfaces (e.g., touch screen displays and/or touch pads), may also beused. It should also be understood that, in some embodiments, the deviceis not a portable communications device, but is a desktop computer witha touch-sensitive surface (e.g., a touch screen display and/or a touchpad).

In the discussion that follows, an electronic device that includes adisplay and a touch-sensitive surface is described. It should beunderstood, however, that the electronic device may include one or moreother physical user-interface devices, such as a physical keyboard, amouse and/or a joystick.

The device typically supports a variety of applications, such as one ormore of the following: a drawing application, a presentationapplication, a word processing application, a website creationapplication, a disk authoring application, a spreadsheet application, agaming application, a telephone application, a video conferencingapplication, an e-mail application, an instant messaging application, aworkout support application, a photo management application, a digitalcamera application, a digital video camera application, a web browsingapplication, a digital music player application, and/or a digital videoplayer application.

The various applications that may be executed on the device may use atleast one common physical user-interface device, such as thetouch-sensitive surface. One or more functions of the touch-sensitivesurface as well as corresponding information displayed on the device maybe adjusted and/or varied from one application to the next and/or withina respective application. In this way, a common physical architecture(such as the touch-sensitive surface) of the device may support thevariety of applications with user interfaces that are intuitive andtransparent to the user.

Attention is now directed toward embodiments of portable devices withtouch-sensitive displays. FIG. 1A is a block diagram illustratingportable multifunction device 100 with touch-sensitive displays 112 inaccordance with some embodiments. Touch-sensitive display 112 issometimes called a “touch screen” for convenience, and may also be knownas or called a touch-sensitive display system. Device 100 may includememory 102 (which may include one or more computer readable storagemediums), memory controller 122, one or more processing units (CPU's)120, peripherals interface 118, RF circuitry 108, audio circuitry 110,speaker 111, microphone 113, input/output (I/O) subsystem 106, otherinput or control devices 116, and external port 124. Device 100 mayinclude one or more optical sensors 164. These components maycommunicate over one or more communication buses or signal lines 103.

It should be appreciated that device 100 is only one example of aportable multifunction device, and that device 100 may have more orfewer components than shown, may combine two or more components, or mayhave a different configuration or arrangement of the components. Thevarious components shown in FIG. 1A may be implemented in hardware,software, or a combination of both hardware and software, including oneor more signal processing and/or application specific integratedcircuits.

Memory 102 may include high-speed random access memory and may alsoinclude non-volatile memory, such as one or more magnetic disk storagedevices, flash memory devices, or other non-volatile solid-state memorydevices. Access to memory 102 by other components of device 100, such asCPU 120 and the peripherals interface 118, may be controlled by memorycontroller 122.

Peripherals interface 118 can be used to couple input and outputperipherals of the device to CPU 120 and memory 102. The one or moreprocessors 120 run or execute various software programs and/or sets ofinstructions stored in memory 102 to perform various functions fordevice 100 and to process data.

In some embodiments, peripherals interface 118, CPU 120, and memorycontroller 122 may be implemented on a single chip, such as chip 104. Insome other embodiments, they may be implemented on separate chips.

RF (radio frequency) circuitry 108 receives and sends RF signals, alsocalled electromagnetic signals. RF circuitry 108 converts electricalsignals to/from electromagnetic signals and communicates withcommunications networks and other communications devices via theelectromagnetic signals. RF circuitry 108 may include well-knowncircuitry for performing these functions, including but not limited toan antenna system, an RF transceiver, one or more amplifiers, a tuner,one or more oscillators, a digital signal processor, a CODEC chipset, asubscriber identity module (SIM) card, memory, and so forth. RFcircuitry 108 may communicate with networks, such as the Internet, alsoreferred to as the World Wide Web (WWW), an intranet and/or a wirelessnetwork, such as a cellular telephone network, a wireless local areanetwork (LAN) and/or a metropolitan area network (MAN), and otherdevices by wireless communication. The wireless communication may useany of a plurality of communications standards, protocols andtechnologies, including but not limited to Global System for MobileCommunications (GSM), Enhanced Data GSM Environment (EDGE), high-speeddownlink packet access (HSDPA), high-speed uplink packet access (HSUPA),wideband code division multiple access (W-CDMA), code division multipleaccess (CDMA), time division multiple access (TDMA), Bluetooth, WirelessFidelity (Wi-Fi) (e.g., IEEE 802.11a, IEEE 802.11b, IEEE 802.11g and/orIEEE 802.11n), voice over Internet Protocol (VoIP), Wi-MAX, a protocolfor e-mail (e.g., Internet message access protocol (IMAP) and/or postoffice protocol (POP)), instant messaging (e.g., extensible messagingand presence protocol (XMPP), Session Initiation Protocol for InstantMessaging and Presence Leveraging Extensions (SIMPLE), Instant Messagingand Presence Service (IMPS)), and/or Short Message Service (SMS), or anyother suitable communication protocol, including communication protocolsnot yet developed as of the filing date of this document.

Audio circuitry 110, speaker 111, and microphone 113 provide an audiointerface between a user and device 100. Audio circuitry 110 receivesaudio data from peripherals interface 118, converts the audio data to anelectrical signal, and transmits the electrical signal to speaker 111.Speaker 111 converts the electrical signal to human-audible sound waves.Audio circuitry 110 also receives electrical signals converted bymicrophone 113 from sound waves. Audio circuitry 110 converts theelectrical signal to audio data and transmits the audio data toperipherals interface 118 for processing. Audio data may be retrievedfrom and/or transmitted to memory 102 and/or RF circuitry 108 byperipherals interface 118. In some embodiments, audio circuitry 110 alsoincludes a headset jack (e.g., 212, FIG. 2). The headset jack providesan interface between audio circuitry 110 and removable audioinput/output peripherals, such as output-only headphones or a headsetwith both output (e.g., a headphone for one or both ears) and input(e.g., a microphone).

I/O subsystem 106 couples input/output peripherals on device 100, suchas touch screen 112 and other input control devices 116, to peripheralsinterface 118. I/O subsystem 106 may include display controller 156 andone or more input controllers 160 for other input or control devices.The one or more input controllers 160 receive/send electrical signalsfrom/to other input or control devices 116. The other input controldevices 116 may include physical buttons (e.g., push buttons, rockerbuttons, etc.), dials, slider switches, joysticks, click wheels, and soforth. In some alternate embodiments, input controller(s) 160 may becoupled to any (or none) of the following: a keyboard, infrared port,USB port, and a pointer device such as a mouse. The one or more buttons(e.g., 208, FIG. 2) may include an up/down button for volume control ofspeaker 111 and/or microphone 113. The one or more buttons may include apush button (e.g., 206, FIG. 2).

Touch-sensitive display 112 provides an input interface and an outputinterface between the device and a user. Display controller 156 receivesand/or sends electrical signals from/to touch screen 112. Touch screen112 displays visual output to the user. The visual output may includegraphics, text, icons, video, and any combination thereof (collectivelytermed “graphics”). In some embodiments, some or all of the visualoutput may correspond to user-interface objects.

Touch screen 112 has a touch-sensitive surface, sensor or set of sensorsthat accepts input from the user based on haptic and/or tactile contact.Touch screen 112 and display controller 156 (along with any associatedmodules and/or sets of instructions in memory 102) detect contact (andany movement or breaking of the contact) on touch screen 112 andconverts the detected contact into interaction with user-interfaceobjects (e.g., one or more soft keys, icons, web pages or images) thatare displayed on touch screen 112. In an exemplary embodiment, a pointof contact between touch screen 112 and the user corresponds to a fingerof the user.

Touch screen 112 may use LCD (liquid crystal display) technology, LPD(light emitting polymer display) technology, or LED (light emittingdiode) technology, although other display technologies may be used inother embodiments. Touch screen 112 and display controller 156 maydetect contact and any movement or breaking thereof using any of aplurality of touch sensing technologies now known or later developed,including but not limited to capacitive, resistive, infrared, andsurface acoustic wave technologies, as well as other proximity sensorarrays or other elements for determining one or more points of contactwith touch screen 112. In an exemplary embodiment, projected mutualcapacitance sensing technology is used, such as that found in theiPhone®, iPod Touch®, and iPad® from Apple Inc. of Cupertino, Calif.

Touch screen 112 may have a video resolution in excess of 100 dpi. Insome embodiments, the touch screen has a video resolution ofapproximately 160 dpi. The user may make contact with touch screen 112using any suitable object or appendage, such as a stylus, a finger, andso forth. In some embodiments, the user interface is designed to workprimarily with finger-based contacts and gestures, which can be lessprecise than stylus-based input due to the larger area of contact of afinger on the touch screen. In some embodiments, the device translatesthe rough finger-based input into a precise pointer/cursor position orcommand for performing the actions desired by the user.

In some embodiments, in addition to the touch screen, device 100 mayinclude a touchpad (not shown) for activating or deactivating particularfunctions. In some embodiments, the touchpad is a touch-sensitive areaof the device that, unlike the touch screen, does not display visualoutput. The touchpad may be a touch-sensitive surface that is separatefrom touch screen 112 or an extension of the touch-sensitive surfaceformed by the touch screen.

Device 100 also includes power system 162 for powering the variouscomponents. Power system 162 may include a power management system, oneor more power sources (e.g., battery, alternating current (AC)), arecharging system, a power failure detection circuit, a power converteror inverter, a power status indicator (e.g., a light-emitting diode(LED)) and any other components associated with the generation,management and distribution of power in portable devices.

Device 100 may also include one or more optical sensors 164. FIG. 1Ashows an optical sensor coupled to optical sensor controller 158 in I/Osubsystem 106. Optical sensor 164 may include charge-coupled device(CCD) or complementary metal-oxide semiconductor (CMOS)phototransistors. Optical sensor 164 receives light from theenvironment, projected through one or more lens, and converts the lightto data representing an image. In conjunction with imaging module 143(also called a camera module), optical sensor 164 may capture stillimages or video. In some embodiments, an optical sensor is located onthe back of device 100, opposite touch screen display 112 on the frontof the device, so that the touch screen display may be used as aviewfinder for still and/or video image acquisition. In someembodiments, another optical sensor is located on the front of thedevice so that the user's image may be obtained for videoconferencingwhile the user views the other video conference participants on thetouch screen display.

Device 100 may also include one or more proximity sensors 166. FIG. 1Ashows proximity sensor 166 coupled to peripherals interface 118.Alternately, proximity sensor 166 may be coupled to input controller 160in I/O subsystem 106. In some embodiments, the proximity sensor turnsoff and disables touch screen 112 when the multifunction device isplaced near the user's ear (e.g., when the user is making a phone call).

Device 100 may also include one or more accelerometers 168. FIG. 1Ashows accelerometer 168 coupled to peripherals interface 118.Alternately, accelerometer 168 may be coupled to an input controller 160in I/O subsystem 106. In some embodiments, information is displayed onthe touch screen display in a portrait view or a landscape view based onan analysis of data received from the one or more accelerometers. Device100 optionally includes, in addition to accelerometer(s) 168, amagnetometer (not shown) and a GPS (or GLONASS or other globalnavigation system) receiver (not shown) for obtaining informationconcerning the location and orientation (e.g., portrait or landscape) ofdevice 100.

In some embodiments, the software components stored in memory 102include operating system 126, communication module (or set ofinstructions) 128, contact/motion module (or set of instructions) 130,graphics module (or set of instructions) 132, text input module (or setof instructions) 134, Global Positioning System (GPS) module (or set ofinstructions) 135, and applications (or sets of instructions) 136.Furthermore, in some embodiments memory 102 stores device/globalinternal state 157, as shown in FIGS. 1A and 3. Device/global internalstate 157 includes one or more of: active application state, indicatingwhich applications, if any, are currently active; display state,indicating what applications, views or other information occupy variousregions of touch screen display 112; sensor state, including informationobtained from the device's various sensors and input control devices116; and location information concerning the device's location and/orattitude.

Operating system 126 (e.g., Darwin, RTXC, LINUX, UNIX, OS X, WINDOWS, oran embedded operating system such as VxWorks) includes various softwarecomponents and/or drivers for controlling and managing general systemtasks (e.g., memory management, storage device control, powermanagement, etc.) and facilitates communication between various hardwareand software components.

Communication module 128 facilitates communication with other devicesover one or more external ports 124 and also includes various softwarecomponents for handling data received by RF circuitry 108 and/orexternal port 124. External port 124 (e.g., Universal Serial Bus (USB),FIREWIRE, etc.) is adapted for coupling directly to other devices orindirectly over a network (e.g., the Internet, wireless LAN, etc.). Insome embodiments, the external port is a multi-pin (e.g., 30-pin)connector that is the same as, or similar to and/or compatible with the30-pin connector used on iPod (trademark of Apple Inc.) devices.

Contact/motion module 130 may detect contact with touch screen 112 (inconjunction with display controller 156) and other touch sensitivedevices (e.g., a touchpad or physical click wheel). Contact/motionmodule 130 includes various software components for performing variousoperations related to detection of contact, such as determining ifcontact has occurred (e.g., detecting a finger-down event), determiningif there is movement of the contact and tracking the movement across thetouch-sensitive surface (e.g., detecting one or more finger-draggingevents), and determining if the contact has ceased (e.g., detecting afinger-up event or a break in contact). Contact/motion module 130receives contact data from the touch-sensitive surface. Determiningmovement of the point of contact, which is represented by a series ofcontact data, may include determining speed (magnitude), velocity(magnitude and direction), and/or an acceleration (a change in magnitudeand/or direction) of the point of contact. These operations may beapplied to single contacts (e.g., one finger contacts) or to multiplesimultaneous contacts (e.g., “multitouch”/multiple finger contacts). Insome embodiments, contact/motion module 130 and display controller 156detect contact on a touchpad.

Contact/motion module 130 may detect a gesture input by a user.Different gestures on the touch-sensitive surface have different contactpatterns. Thus, a gesture may be detected by detecting a particularcontact pattern. For example, detecting a finger tap gesture includesdetecting a finger-down event followed by detecting a finger-up (liftoff) event at the same position (or substantially the same position) asthe finger-down event (e.g., at the position of an icon). As anotherexample, detecting a finger swipe gesture on the touch-sensitive surfaceincludes detecting a finger-down event followed by detecting one or morefinger-dragging events, and subsequently followed by detecting afinger-up (lift off) event.

Graphics module 132 includes various known software components forrendering and displaying graphics on touch screen 112 or other display,including components for changing the intensity of graphics that aredisplayed. As used herein, the term “graphics” includes any object thatcan be displayed to a user, including without limitation text, webpages, icons (such as user-interface objects including soft keys),digital images, videos, animations and the like.

In some embodiments, graphics module 132 stores data representinggraphics to be used. Each graphic may be assigned a corresponding code.Graphics module 132 receives, from applications etc., one or more codesspecifying graphics to be displayed along with, if necessary, coordinatedata and other graphic property data, and then generates screen imagedata to output to display controller 156.

Text input module 134, which may be a component of graphics module 132,provides soft keyboards for entering text in various applications (e.g.,contacts 137, e-mail 140, IM 141, browser 147, and any other applicationthat needs text input).

GPS module 135 determines the location of the device and provides thisinformation for use in various applications (e.g., to telephone 138 foruse in location-based dialing, to camera 143 as picture/video metadata,and to applications that provide location-based services such as weatherwidgets, local yellow page widgets, and map/navigation widgets).

Applications 136 may include the following modules (or sets ofinstructions), or a subset or superset thereof:

-   -   contacts module 137 (sometimes called an address book or contact        list);    -   telephone module 138;    -   video conferencing module 139;    -   e-mail client module 140;    -   instant messaging (IM) module 141;    -   books module 142;    -   camera module 143 for still and/or video images;    -   image management module 144;    -   browser module 147;    -   calendar module 148;    -   widget modules 149, which may include one or more of: weather        widget 149-1, stocks widget 149-2, calculator widget 149-3,        alarm clock widget 149-4, dictionary widget 149-5, and other        widgets obtained by the user, as well as user-created widgets        149-6;    -   widget creator module 150 for making user-created widgets 149-6;    -   search module 151;    -   video and music player module 152, which may be made up of a        video player module and a music player module;    -   notes module 153;    -   map module 154; and/or    -   online video module 155.

Examples of other applications 136 that may be stored in memory 102include other word processing applications, other image editingapplications, drawing applications, presentation applications,JAVA-enabled applications, encryption, digital rights management, voicerecognition, and voice replication.

In conjunction with touch screen 112, display controller 156, contactmodule 130, graphics module 132, and text input module 134, contactsmodule 137 may be used to manage an address book or contact list (e.g.,stored in application internal state 192 of contacts module 137 inmemory 102 or memory 370), including: adding name(s) to the addressbook; deleting name(s) from the address book; associating telephonenumber(s), e-mail address(es), physical address(es) or other informationwith a name; associating an image with a name; categorizing and sortingnames; providing telephone numbers or e-mail addresses to initiateand/or facilitate communications by telephone 138, video conference 139,e-mail 140, or IM 141; and so forth.

In conjunction with RF circuitry 108, audio circuitry 110, speaker 111,microphone 113, touch screen 112, display controller 156, contact module130, graphics module 132, and text input module 134, telephone module138 may be used to enter a sequence of characters corresponding to atelephone number, access one or more telephone numbers in address book137, modify a telephone number that has been entered, dial a respectivetelephone number, conduct a conversation and disconnect or hang up whenthe conversation is completed. As noted above, the wirelesscommunication may use any of a plurality of communications standards,protocols and technologies.

In conjunction with RF circuitry 108, audio circuitry 110, speaker 111,microphone 113, touch screen 112, display controller 156, optical sensor164, optical sensor controller 158, contact module 130, graphics module132, text input module 134, contact list 137, and telephone module 138,videoconferencing module 139 includes executable instructions toinitiate, conduct, and terminate a video conference between a user andone or more other participants in accordance with user instructions.

In conjunction with RF circuitry 108, touch screen 112, displaycontroller 156, contact module 130, graphics module 132, and text inputmodule 134, e-mail client module 140 includes executable instructions tocreate, send, receive, and manage e-mail in response to userinstructions. In conjunction with image management module 144, e-mailclient module 140 makes it very easy to create and send e-mails withstill or video images taken with camera module 143.

In conjunction with RF circuitry 108, touch screen 112, displaycontroller 156, contact module 130, graphics module 132, and text inputmodule 134, the instant messaging module 141 includes executableinstructions to enter a sequence of characters corresponding to aninstant message, to modify previously entered characters, to transmit arespective instant message (for example, using a Short Message Service(SMS) or Multimedia Message Service (MMS) protocol for telephony-basedinstant messages or using XMPP, SIMPLE, or IMPS for Internet-basedinstant messages), to receive instant messages and to view receivedinstant messages. In some embodiments, transmitted and/or receivedinstant messages may include graphics, photos, audio files, video filesand/or other attachments as are supported in a MMS and/or an EnhancedMessaging Service (EMS). As used herein, “instant messaging” refers toboth telephony-based messages (e.g., messages sent using SMS or MMS) andInternet-based messages (e.g., messages sent using XMPP, SIMPLE, orIMPS).

In conjunction with RF circuitry 108, audio circuitry 110, speaker 111,microphone 113, touch screen 112, display controller 156, optical sensor164, optical sensor controller 158, contact module 130, graphics module132, text input module 134, contact list 137, and telephone module 138,books module 142 includes executable instructions to display, annotate,and share an electronic book (e.g., a text book), magazine, newspaper orother digital publication between a user and one or more otherparticipants in accordance with user instructions.

In conjunction with touch screen 112, display controller 156, opticalsensor(s) 164, optical sensor controller 158, contact module 130,graphics module 132, and image management module 144, camera module 143includes executable instructions to capture still images or video(including a video stream) and store them into memory 102, modifycharacteristics of a still image or video, or delete a still image orvideo from memory 102.

In conjunction with touch screen 112, display controller 156, contactmodule 130, graphics module 132, text input module 134, and cameramodule 143, image management module 144 includes executable instructionsto arrange, modify (e.g., edit), or otherwise manipulate, label, delete,present (e.g., in a digital slide show or album), and store still and/orvideo images.

In conjunction with RF circuitry 108, touch screen 112, display systemcontroller 156, contact module 130, graphics module 132, and text inputmodule 134, browser module 147 includes executable instructions tobrowse the Internet in accordance with user instructions, includingsearching, linking to, receiving, and displaying web pages or portionsthereof, as well as attachments and other files linked to web pages.

In conjunction with RF circuitry 108, touch screen 112, display systemcontroller 156, contact module 130, graphics module 132, text inputmodule 134, e-mail client module 140, and browser module 147, calendarmodule 148 includes executable instructions to create, display, modify,and store calendars and data associated with calendars (e.g., calendarentries, to do lists, etc.) in accordance with user instructions.

In conjunction with RF circuitry 108, touch screen 112, display systemcontroller 156, contact module 130, graphics module 132, text inputmodule 134, and browser module 147, widget modules 149 aremini-applications that may be downloaded and used by a user (e.g.,weather widget 149-1, stocks widget 149-2, calculator widget 149-3,alarm clock widget 149-4, and dictionary widget 149-5) or created by theuser (e.g., user-created widget 149-6). In some embodiments, a widgetincludes an HTML (Hypertext Markup Language) file, a CSS (CascadingStyle Sheets) file, and a JavaScript file. In some embodiments, a widgetincludes an XML (Extensible Markup Language) file and a JavaScript file(e.g., Yahoo! Widgets).

In conjunction with RF circuitry 108, touch screen 112, display systemcontroller 156, contact module 130, graphics module 132, text inputmodule 134, and browser module 147, the widget creator module 150 may beused by a user to create widgets (e.g., turning a user-specified portionof a web page into a widget).

In conjunction with touch screen 112, display system controller 156,contact module 130, graphics module 132, and text input module 134,search module 151 includes executable instructions to search for text,music, sound, image, video, and/or other files in memory 102 that matchone or more search criteria (e.g., one or more user-specified searchterms) in accordance with user instructions.

In conjunction with touch screen 112, display system controller 156,contact module 130, graphics module 132, audio circuitry 110, speaker111, RF circuitry 108, and browser module 147, video and music playermodule 152 includes executable instructions that allow the user todownload and play back recorded music and other sound files stored inone or more file formats, such as MP3 or AAC files, and executableinstructions to display, present or otherwise play back videos (e.g., ontouch screen 112 or on an external, connected display via external port124). In some embodiments, device 100 may include the functionality ofan MP3 player, such as an iPod (trademark of Apple Inc.).

In conjunction with touch screen 112, display controller 156, contactmodule 130, graphics module 132, and text input module 134, notes module153 includes executable instructions to create and manage notes, to dolists, and the like in accordance with user instructions.

In conjunction with RF circuitry 108, touch screen 112, display systemcontroller 156, contact module 130, graphics module 132, text inputmodule 134, GPS module 135, and browser module 147, map module 154 maybe used to receive, display, modify, and store maps and data associatedwith maps (e.g., driving directions; data on stores and other points ofinterest at or near a particular location; and other location-baseddata) in accordance with user instructions.

In conjunction with touch screen 112, display system controller 156,contact module 130, graphics module 132, audio circuitry 110, speaker111, RF circuitry 108, text input module 134, e-mail client module 140,and browser module 147, online video module 155 includes instructionsthat allow the user to access, browse, receive (e.g., by streamingand/or download), play back (e.g., on the touch screen or on anexternal, connected display via external port 124), send an e-mail witha link to a particular online video, and otherwise manage online videosin one or more file formats, such as H.264. In some embodiments, instantmessaging module 141, rather than e-mail client module 140, is used tosend a link to a particular online video.

Each of the above identified modules and applications correspond to aset of executable instructions for performing one or more functionsdescribed above and the methods described in this application (e.g., thecomputer-implemented methods and other information processing methodsdescribed herein). These modules (i.e., sets of instructions) need notbe implemented as separate software programs, procedures or modules, andthus various subsets of these modules may be combined or otherwisere-arranged in various embodiments. In some embodiments, memory 102 maystore a subset of the modules and data structures identified above.Furthermore, memory 102 may store additional modules and data structuresnot described above.

In some embodiments, device 100 is a device where operation of apredefined set of functions on the device is performed exclusivelythrough a touch screen and/or a touchpad. By using a touch screen and/ora touchpad as the primary input control device for operation of device100, the number of physical input control devices (such as push buttons,dials, and the like) on device 100 may be reduced.

The predefined set of functions that may be performed exclusivelythrough a touch screen and/or a touchpad include navigation between userinterfaces. In some embodiments, the touchpad, when touched by the user,navigates device 100 to a main, home, or root menu from any userinterface that may be displayed on device 100. In such embodiments, thetouchpad may be referred to as a “menu button.” In some otherembodiments, the menu button may be a physical push button or otherphysical input control device instead of a touchpad.

FIG. 1C is a block diagram illustrating exemplary components for eventhandling in accordance with some embodiments. In some embodiments,memory 102 (in FIGS. 1A and 1B) or 370 (FIG. 3) includes event sorter170 (e.g., in operating system 126) and a respective application 136-1(e.g., any of the aforementioned applications 137-151, 155, 380-390).

Event sorter 170 receives event information and determines theapplication 136-1 and application view 191 of application 136-1 to whichto deliver the event information. Event sorter 170 includes eventmonitor 171 and event dispatcher module 174. In some embodiments,application 136-1 includes application internal state 192, whichindicates the current application view(s) displayed on touch sensitivedisplay 112 when the application is active or executing. In someembodiments, device/global internal state 157 is used by event sorter170 to determine which application(s) is (are) currently active, andapplication internal state 192 is used by event sorter 170 to determineapplication views 191 to which to deliver event information.

In some embodiments, application internal state 192 includes additionalinformation, such as one or more of: resume information to be used whenapplication 136-1 resumes execution, user interface state informationthat indicates information being displayed or that is ready for displayby application 136-1, a state queue for enabling the user to go back toa prior state or view of application 136-1, and a redo/undo queue ofprevious actions taken by the user.

Event monitor 171 receives event information from peripherals interface118. Event information includes information about a sub-event (e.g., auser touch on touch-sensitive display 112, as part of a multi-touchgesture). Peripherals interface 118 transmits information it receivesfrom I/O subsystem 106 or a sensor, such as proximity sensor 166,accelerometer(s) 168, and/or microphone 113 (through audio circuitry110). Information that peripherals interface 118 receives from I/Osubsystem 106 includes information from touch-sensitive display 112 or atouch-sensitive surface.

In some embodiments, event monitor 171 sends requests to the peripheralsinterface 118 at predetermined intervals. In response, peripheralsinterface 118 transmits event information. In other embodiments,peripheral interface 118 transmits event information only when there isa significant event (e.g., receiving an input above a predeterminednoise threshold and/or for more than a predetermined duration).

In some embodiments, event sorter 170 also includes a hit viewdetermination module 172 and/or an active event recognizer determinationmodule 173.

Hit view determination module 172 provides software procedures fordetermining where a sub-event has taken place within one or more views,when touch sensitive display 112 displays more than one view. Views aremade up of controls and other elements that a user can see on thedisplay.

Another aspect of the user interface associated with an application is aset of views, sometimes herein called application views or userinterface windows, in which information is displayed and touch-basedgestures occur. The application views (of a respective application) inwhich a touch is detected may correspond to programmatic levels within aprogrammatic or view hierarchy of the application. For example, thelowest level view in which a touch is detected may be called the hitview, and the set of events that are recognized as proper inputs may bedetermined based, at least in part, on the hit view of the initial touchthat begins a touch-based gesture.

Hit view determination module 172 receives information related tosub-events of a touch-based gesture. When an application has multipleviews organized in a hierarchy, hit view determination module 172identifies a hit view as the lowest view in the hierarchy which shouldhandle the sub-event. In most circumstances, the hit view is the lowestlevel view in which an initiating sub-event occurs (i.e., the firstsub-event in the sequence of sub-events that form an event or potentialevent). Once the hit view is identified by the hit view determinationmodule, the hit view typically receives all sub-events related to thesame touch or input source for which it was identified as the hit view.

Active event recognizer determination module 173 determines which viewor views within a view hierarchy should receive a particular sequence ofsub-events. In some embodiments, active event recognizer determinationmodule 173 determines that only the hit view should receive a particularsequence of sub-events. In other embodiments, active event recognizerdetermination module 173 determines that all views that include thephysical location of a sub-event are actively involved views, andtherefore determines that all actively involved views should receive aparticular sequence of sub-events. In other embodiments, even if touchsub-events were entirely confined to the area associated with oneparticular view, views higher in the hierarchy would still remain asactively involved views.

Event dispatcher module 174 dispatches the event information to an eventrecognizer (e.g., event recognizer 180). In embodiments including activeevent recognizer determination module 173, event dispatcher module 174delivers the event information to an event recognizer determined byactive event recognizer determination module 173. In some embodiments,event dispatcher module 174 stores in an event queue the eventinformation, which is retrieved by a respective event receiver module182.

In some embodiments, operating system 126 includes event sorter 170.Alternatively, application 136-1 includes event sorter 170. In yet otherembodiments, event sorter 170 is a stand-alone module, or a part ofanother module stored in memory 102, such as contact/motion module 130.

In some embodiments, application 136-1 includes a plurality of eventhandlers 190 and one or more application views 191, each of whichincludes instructions for handling touch events that occur within arespective view of the application's user interface. Each applicationview 191 of the application 136-1 includes one or more event recognizers180. Typically, a respective application view 191 includes a pluralityof event recognizers 180. In other embodiments, one or more of eventrecognizers 180 are part of a separate module, such as a user interfacekit (not shown) or a higher level object from which application 136-1inherits methods and other properties. In some embodiments, a respectiveevent handler 190 includes one or more of: data updater 176, objectupdater 177, GUI updater 178, and/or event data 179 received from eventsorter 170. Event handler 190 may utilize or call data updater 176,object updater 177 or GUI updater 178 to update the application internalstate 192. Alternatively, one or more of the application views 191includes one or more respective event handlers 190. Also, in someembodiments, one or more of data updater 176, object updater 177, andGUI updater 178 are included in a respective application view 191.

A respective event recognizer 180 receives event information (e.g.,event data 179) from event sorter 170, and identifies an event from theevent information. Event recognizer 180 includes event receiver 182 andevent comparator 184. In some embodiments, event recognizer 180 alsoincludes at least a subset of: metadata 183, and event deliveryinstructions 188 (which may include sub-event delivery instructions).

Event receiver 182 receives event information from event sorter 170. Theevent information includes information about a sub-event, for example, atouch or a touch movement. Depending on the sub-event, the eventinformation also includes additional information, such as location ofthe sub-event. When the sub-event concerns motion of a touch the eventinformation may also include speed and direction of the sub-event. Insome embodiments, events include rotation of the device from oneorientation to another (e.g., from a portrait orientation to a landscapeorientation, or vice versa), and the event information includescorresponding information about the current orientation (also calleddevice attitude) of the device.

Event comparator 184 compares the event information to predefined eventor sub-event definitions and, based on the comparison, determines anevent or sub-event, or determines or updates the state of an event orsub-event. In some embodiments, event comparator 184 includes eventdefinitions 186. Event definitions 186 contain definitions of events(e.g., predefined sequences of sub-events), for example, event 1(187-1), event 2 (187-2), and others. In some embodiments, sub-events inan event 187 include, for example, touch begin, touch end, touchmovement, touch cancellation, and multiple touching. In one example, thedefinition for event 1 (187-1) is a double tap on a displayed object.The double tap, for example, comprises a first touch (touch begin) onthe displayed object for a predetermined phase, a first lift-off (touchend) for a predetermined phase, a second touch (touch begin) on thedisplayed object for a predetermined phase, and a second lift-off (touchend) for a predetermined phase. In another example, the definition forevent 2 (187-2) is a dragging on a displayed object. The dragging, forexample, comprises a touch (or contact) on the displayed object for apredetermined phase, a movement of the touch across touch-sensitivedisplay 112, and lift-off of the touch (touch end). In some embodiments,the event also includes information for one or more associated eventhandlers 190.

In some embodiments, event definition 187 includes a definition of anevent for a respective user-interface object. In some embodiments, eventcomparator 184 performs a hit test to determine which user-interfaceobject is associated with a sub-event. For example, in an applicationview in which three user-interface objects are displayed ontouch-sensitive display 112, when a touch is detected on touch-sensitivedisplay 112, event comparator 184 performs a hit test to determine whichof the three user-interface objects is associated with the touch(sub-event). If each displayed object is associated with a respectiveevent handler 190, the event comparator uses the result of the hit testto determine which event handler 190 should be activated. For example,event comparator 184 selects an event handler associated with thesub-event and the object triggering the hit test.

In some embodiments, the definition for a respective event 187 alsoincludes delayed actions that delay delivery of the event informationuntil after it has been determined whether the sequence of sub-eventsdoes or does not correspond to the event recognizer's event type.

When a respective event recognizer 180 determines that the series ofsub-events do not match any of the events in event definitions 186, therespective event recognizer 180 enters an event impossible, eventfailed, or event ended state, after which it disregards subsequentsub-events of the touch-based gesture. In this situation, other eventrecognizers, if any, that remain active for the hit view continue totrack and process sub-events of an ongoing touch-based gesture.

In some embodiments, a respective event recognizer 180 includes metadata183 with configurable properties, flags, and/or lists that indicate howthe event delivery system should perform sub-event delivery to activelyinvolved event recognizers. In some embodiments, metadata 183 includesconfigurable properties, flags, and/or lists that indicate how eventrecognizers may interact with one another. In some embodiments, metadata183 includes configurable properties, flags, and/or lists that indicatewhether sub-events are delivered to varying levels in the view orprogrammatic hierarchy.

In some embodiments, a respective event recognizer 180 activates eventhandler 190 associated with an event when one or more particularsub-events of an event are recognized. In some embodiments, a respectiveevent recognizer 180 delivers event information associated with theevent to event handler 190. Activating an event handler 190 is distinctfrom sending (and deferred sending) sub-events to a respective hit view.In some embodiments, event recognizer 180 throws a flag associated withthe recognized event, and event handler 190 associated with the flagcatches the flag and performs a predefined process.

In some embodiments, event delivery instructions 188 include sub-eventdelivery instructions that deliver event information about a sub-eventwithout activating an event handler. Instead, the sub-event deliveryinstructions deliver event information to event handlers associated withthe series of sub-events or to actively involved views. Event handlersassociated with the series of sub-events or with actively involved viewsreceive the event information and perform a predetermined process.

In some embodiments, data updater 176 creates and updates data used inapplication 136-1. For example, data updater 176 updates the telephonenumber used in contacts module 137, or stores a video file used in videoplayer module 145. In some embodiments, object updater 177 creates andupdates objects used in application 136-1. For example, object updater176 creates a new user-interface object or updates the position of auser-interface object. GUI updater 178 updates the GUI. For example, GUIupdater 178 prepares display information and sends it to graphics module132 for display on a touch-sensitive display.

In some embodiments, event handler(s) 190 includes or has access to dataupdater 176, object updater 177, and GUI updater 178. In someembodiments, data updater 176, object updater 177, and GUI updater 178are included in a single module of a respective application 136-1 orapplication view 191. In other embodiments, they are included in two ormore software modules.

It shall be understood that the foregoing discussion regarding eventhandling of user touches on touch-sensitive displays also applies toother forms of user inputs to operate multifunction devices 100 withinput-devices, not all of which are initiated on touch screens, e.g.,coordinating mouse movement and mouse button presses with or withoutsingle or multiple keyboard presses or holds, user movements taps,drags, scrolls, etc., on touch-pads, pen stylus inputs, movement of thedevice, oral instructions, detected eye movements, biometric inputs,and/or any combination thereof, which may be utilized as inputscorresponding to sub-events which define an event to be recognized.

FIG. 2 illustrates a portable multifunction device 100 having a touchscreen 112 in accordance with some embodiments. The touch screen maydisplay one or more graphics within user interface (UI) 200. In thisembodiment, as well as others described below, a user may select one ormore of the graphics by making a gesture on the graphics, for example,with one or more fingers 202 (not drawn to scale in the figure) or oneor more styluses 203 (not drawn to scale in the figure). In someembodiments, selection of one or more graphics occurs when the userbreaks contact with the one or more graphics. In some embodiments, thegesture may include one or more taps, one or more swipes (from left toright, right to left, upward and/or downward) and/or a rolling of afinger (from right to left, left to right, upward and/or downward) thathas made contact with device 100. In some embodiments, inadvertentcontact with a graphic may not select the graphic. For example, a swipegesture that sweeps over an application icon may not select thecorresponding application when the gesture corresponding to selection isa tap.

Device 100 may also include one or more physical buttons, such as “home”or menu button 204. As described previously, menu button 204 may be usedto navigate to any application 136 in a set of applications that may beexecuted on device 100. Alternatively, in some embodiments, the menubutton is implemented as a soft key in a GUI displayed on touch screen112.

In one embodiment, device 100 includes touch screen 112, menu button204, push button 206 for powering the device on/off and locking thedevice, volume adjustment button(s) 208, Subscriber Identity Module(SIM) card slot 210, head set jack 212, and docking/charging externalport 124. Push button 206 may be used to turn the power on/off on thedevice by depressing the button and holding the button in the depressedstate for a predefined time interval; to lock the device by depressingthe button and releasing the button before the predefined time intervalhas elapsed; and/or to unlock the device or initiate an unlock process.In an alternative embodiment, device 100 also may accept verbal inputfor activation or deactivation of some functions through microphone 113.

FIG. 3 is a block diagram of an exemplary multifunction device with adisplay and a touch-sensitive surface in accordance with someembodiments. Device 300 need not be portable. In some embodiments,device 300 is a laptop computer, a desktop computer, a tablet computer,a multimedia player device, a navigation device, an educational device(such as a child's learning toy), a gaming system, or a control device(e.g., a home or industrial controller). Device 300 typically includesone or more processing units (CPU's) 310, one or more network or othercommunications interfaces 360, memory 370, and one or more communicationbuses 320 for interconnecting these components. Communication buses 320may include circuitry (sometimes called a chipset) that interconnectsand controls communications between system components. Device 300includes input/output (I/O) interface 330 comprising display 340, whichis typically a touch screen display. I/O interface 330 also may includea keyboard and/or mouse (or other pointing device) 350 and touchpad 355.Memory 370 includes high-speed random access memory, such as DRAM, SRAM,DDR RAM or other random access solid state memory devices; and mayinclude non-volatile memory, such as one or more magnetic disk storagedevices, optical disk storage devices, flash memory devices, or othernon-volatile solid state storage devices. Memory 370 may optionallyinclude one or more storage devices remotely located from CPU(s) 310. Insome embodiments, memory 370 stores programs, modules, and datastructures analogous to the programs, modules, and data structuresstored in memory 102 of portable multifunction device 100 (FIG. 1), or asubset thereof. Furthermore, memory 370 may store additional programs,modules, and data structures not present in memory 102 of portablemultifunction device 100. For example, memory 370 of device 300 maystore drawing module 380, presentation module 382, word processingmodule 384, website creation module 386, disk authoring module 388,and/or spreadsheet module 390, while memory 102 of portablemultifunction device 100 (FIG. 1) may not store these modules.

Each of the above identified elements in FIG. 3 may be stored in one ormore of the previously mentioned memory devices. Each of the aboveidentified modules corresponds to a set of instructions for performing afunction described above. The above identified modules or programs(i.e., sets of instructions) need not be implemented as separatesoftware programs, procedures or modules, and thus various subsets ofthese modules may be combined or otherwise re-arranged in variousembodiments. In some embodiments, memory 370 may store a subset of themodules and data structures identified above. Furthermore, memory 370may store additional modules and data structures not described above.

Attention is now directed towards embodiments of user interfaces (“UI”)that may be implemented on portable multifunction device 100.

FIG. 4A illustrates an exemplary user interface for a menu ofapplications on portable multifunction device 100 in accordance withsome embodiments. Similar user interfaces may be implemented on device300. In some embodiments, user interface 400 includes the followingelements, or a subset or superset thereof:

-   -   Signal strength indicator(s) 402 for wireless communication(s),        such as cellular and Wi-Fi signals;    -   Time 404;    -   Bluetooth indicator 405;    -   Battery status indicator 406;    -   Tray 408 with icons for frequently used applications, such as:        -   Phone 138, which may include an indicator 414 of the number            of missed calls or voicemail messages;        -   E-mail client 140, which may include an indicator 410 of the            number of unread e-mails;        -   Browser 147; and        -   Video and music player 152, also referred to as iPod            (trademark of Apple Inc.) module 152; and    -   Icons for other applications, such as:        -   IM 141;        -   Image management 144;        -   Camera 143;        -   Weather 149-1;        -   Stocks 149-2;        -   Books 142;        -   Calendar 148;        -   Alarm clock 149-4;        -   Map 154;        -   Notes 153;        -   Settings 412, which provides access to settings for device            100 and its various applications 136; and        -   Online video module 155, also referred to as YouTube            (trademark of Google Inc.) module 155.

FIG. 4B illustrates an exemplary user interface on a device (e.g.,device 300, FIG. 3) with a touch-sensitive surface 451 (e.g., a tabletor touchpad 355, FIG. 3) that is separate from the display 450 (e.g.,touch screen display 112). Although many of the examples which followwill be given with reference to inputs on touch screen display 112(where the touch sensitive surface and the display are combined), insome embodiments, the device detects inputs on a touch-sensitive surfacethat is separate from the display, as shown in FIG. 4B. In someembodiments the touch sensitive surface (e.g., 451 in FIG. 4B) has aprimary axis (e.g., 452 in FIG. 4B) that corresponds to a primary axis(e.g., 453 in FIG. 4B) on the display (e.g., 450). In accordance withthese embodiments, the device detects contacts (e.g., 460 and 462 inFIG. 4B) with the touch-sensitive surface 451 at locations thatcorrespond to respective locations on the display (e.g., in FIG. 4B, 460corresponds to 468 and 462 corresponds to 470). In this way, user inputs(e.g., contacts 460 and 462, and movements thereof) detected by thedevice on the touch-sensitive surface (e.g., 451 in FIG. 4B) are used bythe device to manipulate the user interface on the display (e.g., 450 inFIG. 4B) of the multifunction device when the touch-sensitive surface isseparate from the display. It should be understood that similar methodsmay be used for other user interfaces described herein.

User Interfaces and Associated Processes

Attention is now directed towards embodiments of user interfaces (“UI”)and associated processes that may be implemented on an electronic devicewith a display and a touch-sensitive surface, such as device 300 orportable multifunction device 100.

FIGS. 5A-5P illustrate exemplary user interfaces for navigating throughan electronic document in accordance with some embodiments. The userinterfaces in these figures are used to illustrate the processesdescribed below, including the processes in FIGS. 6A-6C, 7A-7C, and8-10.

FIGS. 5A-5C illustrate exemplary user interfaces for displaying primarycontent, supplementary content, and user-generated content in asegmented user interface for an electronic document in accordance withsome embodiments.

FIG. 5A illustrates an exemplary user interface 502-1 that includes arepresentation of a document in a segmented user interface on touchscreen 112. The document includes primary content 504 (e.g., main text),supplementary content (e.g., multimedia content such as pictures,figures, movies, slide presentations, animations, HTML 5 widgets, movingphotos, etc.), and user-generated content (e.g., notes and otherannotations). As illustrated, the document includes at least a figure506-1 and a note (represented by note icon 508-1). As illustrated, theprimary content 504 consists primarily (or entirely) of text.

The segmented user interface includes a first segment (e.g., a middlecolumn 512-1), a second segment (e.g., a left-hand column 512-2), and athird segment (e.g., a right-hand column 512-3). The primary content 504is displayed in the first segment (e.g., the middle column 512-1), andthe supplementary content (e.g., figure 506-1) is displayed in thesecond segment (e.g., the left-hand column 512-2). The third segment(e.g., the right-hand column 512-3) includes a representation of theuser-generated content (e.g., note icon 508-1).

FIG. 5A also illustrates that a left-swipe gesture 505 is detected ontouch screen 112. Alternatively, tap gesture 507 is detected at alocation that corresponds to the note icon 508-1 on touch screen 112.

FIG. 5B illustrates a user interface 502-2 displayed in response todetecting either the left-swipe gesture 505 or the tap gesture 507. Theuser interface 502-2 includes the user-generated content (e.g., note510) in the third segment (e.g., the right-hand column 512-3). The note510 includes text previously provided by a user (e.g., “the report isdue on Apr. 15, 2010” and “make a copy of the figure”).

As illustrated, the display of the primary content (e.g., 504-1) ismaintained, and a portion of the previously displayed supplementarycontent (e.g., figure 506-1) ceases to display (i.e., a portion offigure 506-1 moves off the touch screen 112).

In some embodiments, the display of the user interface 502-2 includes ananimated transition from the user interface 502-1 to the user interface502-2. For example, the user interface 502-1 slides in a predefineddirection (e.g., right-to-left) such that at least a portion of thesecond segment (e.g., the left-hand column 512-2) slides off the touchscreen display 112. In such an example, the direction of the slidinganimation (e.g., right-to-left) is perpendicular to a direction in whichthe content can be scrolled (e.g., bottom-to-top or top-to-bottom).

FIG. 5B also illustrates that a tap gesture 509 is detected at alocation that corresponds to the figure 506-1. Alternatively, a fingercontact may be detected at a location that corresponds to the secondsegment (e.g., the left-hand column 512-2). In some embodiments, inresponse to detecting the tap gesture 509 (or a finger contact at alocation that corresponds to the second segment), the user interface502-1 is redisplayed.

FIG. 5C illustrates an alternative user interface 502-3 displayed inresponse to detecting either the left-swipe gesture 505 or the tapgesture 507 (FIG. 5A). The user interface 502-3 is similar to the userinterface 502-2. The difference between the user interface 502-2 and theuser interface 502-3 is that the user interface 502-3 includes a photoicon 514-1 instead of a portion of figure 506-1. In FIG. 5C, a tapgesture 511 is detected at a location that corresponds to the photo icon514-1. In some embodiments, in response to detecting the tap gesture511, the user interface 502-1 is redisplayed. Thus, as shown in FIGS.5A-5C, a user can easily switch between a display of supplementarycontent and a display of user-generated content, while maintaining adisplay of primary content to provide context for the two other types ofcontent.

FIGS. 5D-5P illustrate exemplary user interfaces for navigating throughan electronic document in accordance with some embodiments. Theelectronic document has primary content (e.g., main text) andsupplementary content (e.g., multimedia content such as pictures,figures, movies, slide presentations, animations, HTML 5 widgets, movingphotos, etc.).

In FIG. 5D, an exemplary user interface 516-1 is displayed on touchscreen 112 in a landscape orientation. The user interface 516-1 includesa display of content of the electronic document (e.g., page N of theelectronic document, where N is a page number of the displayed content)in a first display mode. The displayed content includes primary content504-2 (e.g., main text), and supplementary content (e.g., FIGS. 506-1′and 506-2′, which are full-scale figures corresponding to FIGS. 506-1and 506-2 shown in FIG. 5E; conversely, FIGS. 506-1 and 506-2 arereduced-scale figures corresponding to FIGS. 506-1′ and 506-2′). Asillustrated, the primary content 504-2 and the supplementary content(e.g., FIGS. 506-1′ and 506-2′) are visually integrated (e.g., the FIGS.506-1′ and 506-2′ are displayed inline with the primary content 504-2).The displayed content also includes a note icon 508-1, which representsuser-generated content.

FIG. 5E illustrates an exemplary user interface 516-2 displayed on touchscreen 112. As illustrated, the user interface 516-2 is displayed in aportrait orientation. The user interface 516-2 includes reduced-scaleFIGS. 506-1 and 506-2 displayed in a left-hand segment 512-5, andprimary content 504-2 displayed in a right-hand segment 512-4. Thus, theFIGS. 506-1 and 506-2 are visually segregated from the primary content504-2. In FIG. 5E, the figures (e.g., 506-1 and 506-2) in the portraitorientation are displayed smaller than the corresponding figures in thelandscape orientation (e.g., 506-1′ and 506-2′, FIG. 5D).

In FIG. 5F, an alternative user interface 516-3 is displayed on touchscreen 112. The user interface 516-3 is similar to the user interface516-2. The difference between the user interface 516-2 and the userinterface 516-3 is that the user interface 516-3 includes photo icons(e.g., 514-1 and 514-2) instead of reduced-scale FIGS. 506-1 and 506-2.FIG. 5F also illustrates that a tap gesture 513 is detected at alocation that corresponds to the photo icon 514-1.

FIG. 5G illustrates that, in some embodiments, in response to detectingthe tap gesture 513, the figure 506-1′ (FIG. 5D) is displayed in anoverlay. Alternatively, in some embodiments, in response to detectingthe tap gesture 513, the figure 506-1 (FIG. 5E) is displayed.

FIG. 5H illustrates an exemplary user interface 516-5 that includesscrolled content of the electronic document in a portrait orientation(e.g., scrolled from content displayed in the user interface 516-2, FIG.5E). In some embodiments, the user interface 516-5 is displayed inresponse to a predefined user gesture (e.g., a swipe-up gesture). Insome embodiments, the user interface 516-5 is displayed automatically.For example, the displayed content of the electronic document may scrollat a predefined scroll speed (e.g., one line of text per five seconds)without a user input (i.e., until a user input for termination of theautomated scroll is received).

In FIG. 5I, an exemplary user interface 516-6 that includes subsequentcontent of the electronic document in a landscape orientation (e.g.,page 4 of the electronic document, which follows page 3 shown in FIG.5D). In other words, in some embodiments, in response to detecting anext page gesture on the user interface 516-1 (FIG. 5D), the userinterface 516-6 is displayed. FIG. 5I also illustrates that one of: asingle-contact left-swipe gesture 515, a two-contact left-swipe gesture(including finger contacts 517 and 519), or a single-contact right-swipegesture 521 may be detected on touch screen 112. It should be noted thatgestures illustrated in FIG. 5I are exemplary gestures that may bedetected on touch screen 112, and the illustrated gestures are notdetected simultaneously. One of the illustrated gestures is detected ata time.

In some embodiments, in response to detecting the single-contactright-swipe gesture (e.g., 521, FIG. 5I), the user interface 516-1 (FIG.5D) is displayed. As explained above, the user interface 516-1corresponds to page 3, which immediately precedes page 4 (FIG. 5I). Inother words, in some embodiments, in response to detecting asingle-contact right-swipe gesture, an immediately preceding page isdisplayed.

In some embodiments, in response to detecting a two-contact right-swipegesture, a page corresponding to a beginning of an immediately precedingsection or chapter is displayed. Alternatively, in some embodiments, inresponse to detecting the two-contact right-swipe gesture, a pagecorresponding to a beginning of a current section or chapter isdisplayed.

FIG. 5J illustrates that in response to detecting the single-contactleft-swipe gesture 515, an exemplary user interface 516-7 is displayedon touch screen 112 (e.g., page 5 in FIG. 5J, which immediately followspage 4 shown in FIG. 5I). In other words, in some embodiments, inresponse to detecting a single-contact left-swipe gesture, animmediately subsequent page is displayed.

FIG. 5K illustrates that in response to detecting the two-contactleft-swipe gesture including finger contacts 517 and 519 (FIG. 5I), anexemplary user interface 516-8 that includes a next section of theelectronic document is displayed (e.g., page 9, which is the start of anext section in an electronic textbook). The user interface 516-8 alsoincludes highlighting of text 520-1, and a note icon 508-3 representingan annotation by a user.

FIG. 5K also illustrates that a pinch gesture including finger contacts523 and 525 is detected on touch screen 112. In FIG. 5L, in response tothe pinch gesture including finger contacts 523 and 525, an array ofthumbnail images is displayed. Each thumbnail image in the arrayrepresents a page with an annotation.

FIGS. 5M-5P illustrate exemplary user interfaces including a navigationbar in accordance with some embodiments.

In FIG. 5M, an exemplary user interface 516-10 includes content of anelectronic document and a navigation bar 524. FIG. 5M also illustratesthat a finger contact 527 is detected on a portion of the navigation bar524.

FIG. 5N illustrates that, in some embodiments, in response to detectingthe finger contact 527, a callout 526-1 is displayed on touch screen112. As illustrated, the callout 526-1 includes a thumbnail of acorresponding page. For example, the callout 526-1 includes main textfrom a corresponding page, a section title 534, a note icon 528-1,highlighting of a text 528-2, and an image 530-1.

FIG. 5O illustrates an alternative user interface 516-12 that isdisplayed in response to detecting the finger contact 527, in accordancewith some embodiments. The user interface 516-12 includes a callout526-2 that includes a section title 534, annotation text 528-2 (e.g.,“The report is due . . . ”), an image 530-2, and a bookmark icon 532.However, unlike the callout 526-1, the callout 526-2 does not includemain text from the corresponding page.

FIG. 5P illustrates yet another user interface 516-13 that is displayedin response to detecting the finger contact 527, in accordance with someembodiments. The user interface 516-13 includes a callout 526-3 thatincludes information representing a plurality of pages. As illustrated,the callout 526-3 includes a thumbnail image of a corresponding page536-1. The callout 526-3 also includes at least a portion of a thumbnailimage of a page immediately preceding the corresponding page (e.g.,536-2) and at least a portion of a thumbnail image of a page immediatelyfollowing the corresponding page (e.g., 536-3).

The user interfaces in these figures (FIGS. 5A-5P) are used toillustrate the processes described below, including the processes inFIGS. 6A-6C, 7A-7C, and 8-10.

FIGS. 6A-6C are flow diagrams illustrating method 600 of displayingprimary content, supplementary content, and user-generated content in asegmented user interface for an electronic document in accordance withsome embodiments. Method 600 is performed at an electronic device (e.g.,device 300, FIG. 3, or portable multifunction device 100, FIG. 1) with adisplay and a touch-sensitive surface. In some embodiments, the displayis a touch screen display and the touch-sensitive surface is on thedisplay. In some embodiments, the display is separate from thetouch-sensitive surface. Some operations in method 600 may be combinedand/or the order of some operations may be changed.

As described below, method 600 provides an intuitive way to displayprimary content, supplementary content, and user-generated content in asegmented user interface. Electronic devices with limited screen areasmay not be able to simultaneously display primary content, supplementarycontent, and user-generated content so that all three can beconcurrently viewed without cluttering the display. The method addressesthis problem by enabling a user to switch between displaying a segment(e.g., a column) with supplementary content and displaying a segmentwith user-generated content while maintaining display of a segment withprimary content (e.g., to provide context for the other two types ofcontent). This enables a user to focus on the primary content, yet alsohave ready access to other types of content (e.g., supplementary contentor user-generated content), in context and as needed.

The device stores (602) a document having primary content (e.g., text),supplementary content, (e.g., multimedia content such as pictures,figures, movies, slide presentations, animations, HTML 5 widgets, movingphotos, etc.) and user-generated content (e.g., notes and other userannotations).

In some embodiments, the primary content consists (604) primarily oftext. In other words, more than 50%, 80%, 90% or some other reasonablevalue of the primary content is text (e.g., because supplementarycontent that would otherwise be integrated with the primary content isinstead displayed in the second region/segment). In some embodiments,the percentage of text in the primary content is determined based on anarea covered by the primary content and an area covered by text in theprimary content. For example, the primary content 504 in FIG. 5Aconsists entirely of text.

In some embodiments, the user-generated content includes (606)annotations associated with the primary content. For example, the notetext “The report is due on Apr. 15, 2010” in FIG. 5B is related to thedisplayed primary content, “central nervous system”.

In some embodiments, the user-generated content (608) includesannotations associated with the supplementary content. For example, thenote text “make a copy of the figure” in FIG. 5B is related to thesupplementary content (e.g., the figure 506-1).

The device displays (610) a representation of the document in asegmented user interface on the display. As used herein with respect tomethod 600, a “segmented” user interface refers to a multi-column ormulti-row user interface. For example, the user interface 502-1 (FIG.5A) includes multiple columns (e.g., the middle column 512-1, theleft-hand column 512-2, and the right-hand column 512-3). The primarycontent of the document is displayed in a first segment (e.g., a firstcolumn) of the segmented user interface and the supplementary content ofthe document is concurrently displayed in a second segment (e.g., asecond column) of the segmented user interface distinct from the firstsegment. For example, in FIG. 5A, the primary content 504 is displayedin the middle column 512-1, and the supplemental content (e.g., figure506-1) is displayed in the left-hand column 512-2. In some embodiments,segments in the segmented user interface have visible boundaries. Insome embodiments, no segment in the segmented user interface has avisible boundary between segments (e.g., FIG. 5A).

In some embodiments, segments are (612) dynamic regions of the userinterface. In other words, the segments of the user interface can changesize and shape in response to user inputs (e.g., a tap and drag gestureon a boundary of a dynamic region causes the device to enlarge orcontract the dynamic region, or selection of a dynamic regionexpand/collapse icon expands or collapses a respective dynamic regionassociated with the expand/collapse icon).

In some embodiments, prior to receiving the request to viewuser-generated content, the device displays (614) representations of theuser-generated content in the segmented user interface (e.g., the noteicon 508-1, FIG. 5A, or other flags/markers/carets that indicate thatthere are annotations associated with the primary content that are notfully displayed).

The device receives (616) a request to view user-generated content ofthe document (e.g., via a gesture on the touch-sensitive surface). Insome embodiments, the request is a finger gesture (e.g., the left-swipegesture 505, FIG. 5A).

In some embodiments, receiving the request includes (618) detectingselection of a representation of user-generated content by a user of thedevice (e.g., tap gesture 507 on the touch-sensitive surface at alocation that corresponds to a location of the note icon 508-1 on thedisplay, FIG. 5A).

In response to the request (620), the device maintains (622) display ofthe previously displayed primary content, ceases (624) to display atleast a portion of the previously displayed supplementary content, anddisplays (632) user-generated content of the document in a third segmentof the segmented user interface distinct from the first segment and thesecond segment. For example, in FIG. 5B, the display of the primarycontent 504-1 is maintained, and the user-generated content 510 isdisplayed. In addition, a portion of the supplementary content (thefigure 506-1) ceases to be displayed.

In some embodiments, ceasing to display at least a portion of thepreviously displayed supplementary content includes (626) displaying ananimated transition of the segmented user interface sliding in apredefined direction (e.g., to the left on the display) so as to slidethe second segment at least partially off of the display.

In some embodiments, the animated transition further comprises (628)sliding the third segment onto the display (e.g., in FIG. 5B, the note510 may slide in from the right-hand edge of touch screen 112).

In some embodiments, the sliding occurs (630) in a direction (e.g.,horizontally) that is perpendicular to a scrolling direction of theprimary content (e.g., vertically). In some embodiments, the content isrestricted to scroll in one direction (e.g., vertically). As oneexample, when the content is restricted to scroll vertically on thedisplay, the sliding occurs in a horizontal direction on the display.

In some embodiments, at least a portion of the supplementary content is(634) displayed concurrently with the user-generated content (e.g., aportion of supplementary content 506-1 is displayed with note 510 inFIG. 5B). For example, the previously displayed supplementary content ispartially covered by the user-generated content, or the second segmentis translated horizontally or vertically, so that only an edge of thesupplementary content is displayed on the display.

In some embodiments, in response to the request to view user-generatedcontent, the device contracts (636) the second segment and expands thethird segment. For example, in a transition from the user interface502-1 (FIG. 5A) to the user interface 502-2 (FIG. 5B), the secondsegment (e.g., the left-hand column 512-2) contracts and the thirdsegment (e.g., the right-hand column 512-3) expands. In someembodiments, the third segment is initially displayed at a small sizeand indicators of the user-generated content are displayed within thethird segment (e.g., note icon 508-1 in the right-hand column 512-3,FIG. 5A).

In some embodiments, the first segment is (638) displayed between thesecond segment and the third segment on the display (e.g., the middlecolumn 512-1 with the primary content 504 is located between theleft-hand column 512-2 and the right-hand column 512-3, FIG. 5A). Insome embodiments, the first segment (including the primary content) isdisplayed in a central region, the second segment (including thesupplementary content) is displayed to the left of the first segment,and the third segment (including the user-generated content) isdisplayed to the right of the first segment (e.g., FIG. 5A) or viceversa.

In some embodiments, in response to the request to view user-generatedcontent, the device replaces (640) one or more items of supplementarycontent with representations (e.g., thumbnails, icons, etc.) of the oneor more items of supplementary content in the second segment. In otherwords, ceasing to display at least the portion of the previouslydisplayed supplementary content includes ceasing to display one or moreof the items of supplementary content and replacing the items ofsupplementary content with thumbnails, icons or other representations soas to provide a user of the device with an indication that thesupplementary content is available and to provide the user with accessto the hidden supplementary content. For example, in FIG. 5C, the figure506-1 is replaced with a photo icon 514-1.

In some embodiments, the device detects (642) selection of arepresentation of a respective item of supplementary content (e.g., tapgesture 509, FIG. 5B), and in response to detecting the selection of therepresentation, displays the respective item of supplementary content(e.g., display the user interface 502-1, FIG. 5A). In some embodiments,the respective item of supplementary content is displayed withoutchanging the layout of the segmented user interface (e.g., in someembodiments, the figure 506-1′ is displayed in an overlay withouthorizontally sliding the user interface). In some embodiments, thedevice ceases to display the user-generated content and redisplays thesupplemental content (e.g., FIG. 5A). In either case, the user hasone-click/one-tap access to the supplementary content even when at leasta portion of the supplementary content has ceased to be displayed.

In some embodiments, one or more items of supplementary content are(644) each associated with a respective anchor position within theprimary content. A respective item of supplementary content is displayedat a location in the second segment that is proximate (e.g., adjacent)to the respective anchor position for the respective item ofsupplementary content. In some embodiments, a plurality of images,figures, videos and other multimedia content each have an insertionpoint or other anchor position (e.g., a paragraph, caption, or otherblock of text associated with an item of supplementary content)determined by the publisher or author of the electronic document. Forexample, in FIG. 5A, the figure 506-1 is associated with an anchorposition that corresponds to the term “central nervous system” of thefirst sentence, and the figure 506-1 is displayed at a locationproximate to the term “central nervous system.”

In some embodiments, one or more items of user-generated content are(646) each associated with a respective anchor position within theprimary content. A respective item of user-generated content isdisplayed at a location in the third segment that is proximate (e.g.,adjacent) to the respective anchor position for the respective item ofuser-generated content. In some embodiments, a plurality of notes eachhave an insertion point or other anchor position (e.g., a paragraph,caption, or other block of text associated with an item of supplementarycontent) determined by the user (e.g., by creating a note associatedwith highlighted text). For example, in FIG. 5A, the note icon 508-1 isassociated with an anchor position that corresponds to the caption“Central Nervous System,” and the note icon 508-1 is displayed at alocation proximate to the caption “Central Nervous System.”

FIGS. 7A-7C are flow diagrams illustrating method 700 of displayingprimary and supplementary content in an electronic document in visuallyintegrated and visually segregated display modes in accordance with someembodiments. Method 700 is performed at an electronic device (e.g.,device 300, FIG. 3, or portable multifunction device 100, FIG. 1) with adisplay and a touch-sensitive surface. In some embodiments, the displayis a touch screen display and the touch-sensitive surface is on thedisplay. In some embodiments, the display is separate from thetouch-sensitive surface. Some operations in method 700 may be combinedand/or the order of some operations may be changed.

As described below, method 700 provides an intuitive way to adjustdisplay of primary content and supplementary content of an electronicdocument. In some instances, a user may want to read content of theelectronic document in a visually integrated display mode (e.g., thecontent of the electronic document is arranged in a layout determined bya publisher) when the correlation between primary content andsupplementary content is beneficial. And in some other instances, theuser may want to read content of the electronic document in a visuallysegregated display mode, when for example, the user wants to focus onthe main text of the electronic document. The method provides an easymechanism to switch between the visually integrated display mode and thevisually segregated display mode, thereby creating a more efficienthuman-machine interface.

The device stores (702) a document (e.g., electronic book, magazine,newspaper, article, textbook, pdf, etc.) having primary content (e.g.,text) and supplementary content (e.g., multimedia content such aspictures, figures, movies, slide presentation, animations, HTML 5widgets, moving photos, etc.).

The device displays (704) content of the document in a first displaymode of a document presentation application (e.g., an ebook reader, apdf reader, etc.). The supplementary content is visually integrated withthe primary content in the first display mode (e.g., interspersed with,interwoven, intermixed, displayed inline, displayed in acreator-specified format, etc.) In other words, in the first displaymode, the supplementary content is not restricted to one or morepredefined regions, but is displayed among the primary content (e.g., ina “print” layout specified by a creator or author). For example, in FIG.5D, the supplementary content, such as FIGS. 506-1′ and 506-2′, isinterspersed with the primary content 504-2.

In some embodiments, visually integrating the supplementary content withthe primary content in the first display mode includes (706) displayingthe supplementary content inline with the primary content (e.g., in FIG.5D, the supplementary content, such as FIGS. 506-1′ and 506-2′, aredisplayed in line with the primary content 504-2).

In some embodiments, a plurality of items of supplementary content are(708) concurrently displayed in the first display mode (e.g., FIGS.506-1′ and 506-2′, FIG. 5D). In some embodiments, two or more of theitems of supplementary content are displayed simultaneously with atleast a portion of the primary content (e.g., FIGS. 506-1′ and 506-2′and the primary content 504-2, FIG. 5D). In some embodiments, aplurality of corresponding representations of items of supplementarycontent are concurrently displayed in the first display mode. Forexample, photo icons may be displayed instead of the figures.

In some embodiments, the first display mode is (710) a creator-specifieddisplay mode in which the primary content and supplementary content arearranged in accordance with a template specified by a creator (e.g.,publisher, author, etc.) of the document. In other words, the creatordetermines in advance the layout of the primary content and thesupplementary content. Thus, the first display mode is also called aprint layout mode.

While displaying content of the document in the first display mode, thedevice receives (712) a request to display content of the document in asecond display mode of the document presentation application. Thisenables the device to switch directly from the first display mode to thesecond display mode.

In some embodiments, receiving the request to display content of thedocument in the second display mode includes (714) detecting rotation ofthe device (e.g., the device detects rotation from a landscapeorientation to a portrait orientation or vice versa). For example, thedevice detects rotation of the device in accordance with input detectedfrom a gyroscope, accelerometer, or other orientation sensor.

In some embodiments, the second display mode is (716) a text-reviewdisplay mode in which two or more portions of text in the primarycontent that are displayed as distinct blocks of text in thecreator-specified display mode are displayed in a same contiguous blockof text (e.g., the two or more blocks of text are identified as distinctblocks of text in the template specified by the creator). In particular,two portions of text that are separated by a figure, image, columnbreak, page break, etc. are displayed together in a single column viewto make the text easier to review for the user. For example, in FIG. 5E,the user interface 516-2 includes text 504-2 from a particular page(including the caption, “central nervous system”) and text 504-3 from afollowing page (e.g., the caption, “regions of the brain”) displayedtogether in a block of text that does not have supplementary contentinterspersed within the block of text.

In some embodiments, the first display mode and the second display modeare (718) both display modes for use by an end user to view the documenton the device (e.g., a rendering of at least a subset of the documentcontent). In other words, the two display modes are not authoring modesof an authoring application (e.g., website authoring, desktoppublishing, etc.).

In response to the request, the device displays (720) content of thedocument in the second display mode, with representations of thesupplementary content visually segregated from the primary content inthe second display mode. For example, in FIG. 5E, the supplementarycontent is displayed in the left-hand column 512-5 and the primarycontent 504-2 is displayed in the right-hand column 512-4. In someembodiments, the representations of the supplementary content includethe supplementary content displayed in the first display mode (e.g.,full-scale FIGS. 506-1′ and 506-2′ in FIG. 5D). In some embodiments, therepresentations of the supplementary content include icons representingthe supplementary content. In some embodiments, the representations ofthe supplementary content include reduced scale representations of thesupplementary content (e.g., FIGS. 506-1 and 506-2 in FIG. 5E as reducedscale representations of FIGS. 506-1′ and 506-2′). Typically, only aportion of the content of the document is displayed and thus only aportion of the primary content and only a portion of the supplementarycontent are displayed at any given time.

In some embodiments, visually segregating the representations of thesupplementary content from the primary content in the second displaymode includes (722) displaying the primary content in a first region ofa user interface that does not include the supplementary content (e.g.,primary content 504-2 in the right-hand column 512-4, FIG. 5E), anddisplaying the representations of the supplementary content in a secondregion of the user interface that is distinct from the first region ofthe user interface and that does not include the primary content (e.g.,FIGS. 506-1 and 506-2 in the left-hand column 512-5, FIG. 5E).

In some embodiments, an item of supplementary content is (724) displayedat a first size on the display in the first display mode, and arepresentation of the item of supplementary content is displayed in thesecond display mode. The representation of the item of supplementarycontent has a second size on the display that is smaller than the firstsize. For example, the figure 506-1 in the user interface 516-2 (FIG.5E) is smaller than the corresponding figure 506-1′ in the userinterface 516-1 (FIG. 5D). In some embodiments, the supplementarycontent is smaller in second display mode than in the first displaymode, so as to reduce the amount of the screen area that is taken upwith the supplementary content and thus provide more space on thedisplay for the primary content.

In some embodiments, in the first display mode, the supplementarycontent includes (726) one or more items of supplementary content (e.g.,FIGS. 506-1′ and 506-2′, FIG. 5D). In the second display mode, thedevice displays one or more supplementary content icons that replacecorresponding items of supplementary content displayed in the firstdisplay mode (e.g., thumbnails or content-specific icons indicating atype of content, such as photo icons 514-1 and 514-2, FIG. 5F). Thedevice detects selection of a respective supplementary content icon(e.g., tap gesture 513, FIG. 5F), and in response to detecting theselection, displays a corresponding item of supplementary content on thedisplay (e.g., the figure 506-1′ in FIG. 5G). In other words, the seconddisplay mode is optimized for displaying text while deemphasizing othercontent, yet the second display mode still provides quick (e.g.,one-click/one-tap) access to the multimedia content. In someembodiments, the multimedia content (when selected) is displayed as an(interactive) overlay/popover (e.g., the figure 506-1′, FIG. 5G). Insome embodiments, the supplementary content icons are displayed in apredefined area of the display (e.g., along a left edge of the display(e.g., the figure 506-1, FIG. 5E).

In some embodiments, the first display mode has (728) a first contentadvancement direction (e.g., a direction in which text moves on thedisplay when the device detects a request to advance the content, suchas by scrolling or by navigating to a next page) with respect to areading direction of text in the primary content (e.g., the advancementdirection is parallel to the left-to-right direction of the text), andthe second display mode has a second content advancement direction thatis distinct from the first content advancement direction with respect tothe reading direction of the text in the primary content (e.g., theadvancement direction is perpendicular to the left-to-right direction ofthe text). For example, in the first display mode, detecting aright-to-left swipe gesture will cause the device to advance to a nextpage; and detecting a left-to-right swipe gesture will cause the deviceto navigate backwards to a previous page. In contrast, in the seconddisplay mode, detecting a bottom-to-top swipe gesture will cause thedevice to scroll the primary content upwards to reveal a next portion ofthe content; and detecting a top-to-bottom swipe gesture will cause thedevice to scroll the primary content downwards to reveal a previousportion of the content.

In some embodiments, the primary content includes (730) a plurality ofpage boundaries. The device detects a request to navigate through thedocument (e.g., a swipe gesture on the touch-sensitive surface or a tapand hold/click and hold gesture/input on a content advancement icon). Inresponse to detecting the request to navigate through the document, inaccordance with a determination that the device is in the first displaymode, the device navigates to a sequentially adjacent page (e.g., a nextpage or a previous page) in accordance with the page boundaries (e.g.,the content is displayed in full page increments, such as page 1, page2, etc, as is typical in a desktop publishing application or a book),and in accordance with a determination that the device is in the seconddisplay mode, the device scrolls through the document in accordance witha magnitude of a value associated with the request (e.g., scrollingthrough the document continuously in accordance with adistance/speed/duration of a swipe gesture or selection of a contentadvancement icon, as is typical for a webpage or other document withoutpage breaks). For example, in response to detecting a request tonavigate through the document, the device navigates from the userinterface 516-1 (FIG. 5D) to the user interface 516-6 corresponding to anext page (FIG. 5I) in the first display mode, whereas the devicenavigates from the user interface 516-2 (FIG. 5E) to the user interface516-5 (FIG. 5H) including a portion of the user interface 516-2 and acontinuously following portion of the document in the second displaymode.

In some embodiments, a respective item of supplementary content is (732)associated with a predefined portion of the primary content. Therespective item of supplementary content is displayed proximate to thepredefined portion of primary content in the first display mode, and arepresentation of the respective item of supplementary content isdisplayed proximate to the predefined portion of primary content in thesecond display mode. For example, in FIG. 5D, the figure 506-1′ isassociated with the term “central nervous system” in the primary content504-2. In FIG. 5D, the figure 506-1′ is displayed proximate to the term“central nervous system” in the landscape mode, and in FIG. 5E, thefigure 506-1 is also displayed proximate to the term “central nervoussystem” in the portrait mode.

While displaying the predefined portion of the primary content and therepresentation of the respective item of supplementary content in thesecond display mode, the device detects (734) a request to navigatethrough the primary content. In response to detecting the request tonavigate through the primary content, the device repositions thepredefined portion of the primary content to an updated location on thedisplay in accordance with the request to navigate through the primarycontent, and repositions the representation of the respective item ofsupplementary content on the display in accordance with the updatedlocation of the predefined portion of the primary content. For example,when the content of the electronic document is scrolled (from FIG. 5E toFIG. 5H), the figure 506-1 is displayed at an updated location of theterm “central nervous system” in the primary content. It should beunderstood that when the primary content and respective item ofsupplementary content are displayed in the second display mode, thesupplementary content will move synchronously with the primary contentin the second display mode.

In some embodiments, the device has (736) a long axis and a short axis.In the first display mode, a reading direction (e.g., a primary readingdirection) of the text is aligned with the long axis (e.g., FIG. 5D). Inthe second display mode, the reading direction of the text is alignedwith the short axis (e.g., FIG. 5E). For example, for English, theprimary reading direction is left-to-right; and for Hebrew the primaryreading direction is right-to-left.

In some embodiments, while displaying content of the document in thesecond display mode, the device receives a request to display content ofthe document in the first display mode of the document presentationapplication (e.g., the device detects rotation of the device from aportrait orientation to a landscape orientation). In response, thedevice displays content of the document in the first display mode.

FIG. 8 is a flow diagram illustrating method 800 of navigating throughan electronic document with single contact and multi-contact gestures inaccordance with some embodiments. Method 800 is performed at anelectronic device (e.g., device 300, FIG. 3, or portable multifunctiondevice 100, FIG. 1) with a display and a touch-sensitive surface. Insome embodiments, the display is a touch screen display and thetouch-sensitive surface is on the display. In some embodiments, thedisplay is separate from the touch-sensitive surface. Some operations inmethod 800 may be combined and/or the order of some operations may bechanged.

As described below, method 800 provides an intuitive way to navigatethrough an electronic document. The method enables a user to navigatethrough an electronic document page-by-page, chapter-by-chapter, orannotation-by-annotation based on user gestures. The method provides afaster way to navigate through an electronic document, in particular toimportant portions of the electronic document (e.g., portions annotatedby the user), thereby creating a more efficient human-machine interface.For battery-operated electronic devices, enabling a user to navigatethrough an electronic document faster and more efficiently conservespower and increases the time between battery charges.

The device stores (802) a document having a plurality of features havingrespective locations within the document. The plurality of featuresincludes features of a first feature type in a first sequence andfeatures of a second feature type in a second sequence. The secondfeature type is distinct from the first feature type.

In some embodiments, the first feature type is (804) a page or a pagebreak.

In some embodiments, the second feature type is (806) one of: a section,a section break, a chapter, a chapter break or an annotation. In otherwords, the second feature type is a non-page break feature (i.e.,neither a page nor a page break).

The device displays (808) at least a portion of the document on thedisplay. In some embodiments, the displayed portion corresponds to afeature of the first type (e.g., a respective page) and also correspondsto a feature of the second type (e.g., a respective section, chapter,annotation etc.). For example, the portion of the document illustratedin FIG. 5I corresponds to a respective page, and also corresponds to arespective section (with a section title, “Regions of the Brain”).

The device detects (810) a first gesture on the touch-sensitive surface(e.g., a single-finger left-swipe gesture 515 or a two-finger left-swipegesture including finger contacts 517 and 519, FIG. 5I)

In some embodiments, the first gesture is (812) a swipe gesture (e.g.,left-swipe gesture 515, FIG. 5I).

In response to detecting the first gesture (814), in accordance with adetermination that the first gesture is a single contact gesture, thedevice navigates (816) to a portion of the document that includes or islocated proximate to a sequentially adjacent feature of the firstfeature type in the document (e.g., the device navigates to a next page,FIGS. 5I-5J).

In some embodiments, navigating to a portion of the document includesceasing to display a currently displayed portion of the document anddisplaying the portion of the document that includes or is locatedproximate to a next feature of the first feature type (e.g., a nextpage).

In some embodiments, navigating to a portion of the document includesdisplaying an animated transition (e.g., scrolling, page flip, sliding,fading, etc.) between the currently displayed portion of the documentand the portion of the document that includes or is located proximate tothe next feature. For example, in some embodiments, the user interface516-6 in FIG. 5I slides out to the left-side of the touch screen 112,and the user interface 516-7 in FIG. 5J slides in from the right-side ofthe touch screen 112.

In accordance with a determination that the first gesture is amulti-contact gesture with a first predefined number of contacts, thedevice navigates (818) to a portion of the document that includes or islocated proximate to a sequentially adjacent feature of the secondfeature type in the document. For example, in response to a two contactswipe gesture including finger contacts 517 and 519 (FIG. 5I), thedevice navigates to a next section (e.g., from FIG. 5I to FIG. 5K). Itshould be understood that, in some embodiments, navigating to a portionof the document that includes or is located proximate to a sequentiallyadjacent feature includes navigating to a beginning of a next orprevious feature (e.g., a next chapter or a previous chapter), while inother embodiments, navigating to a portion of the document that includesor is located proximate to a sequentially adjacent feature includesnavigating to beginning/end of a current feature (e.g., a beginning oran end of the currently displayed section or chapter). Additionally, insome embodiments, a gesture having a first direction causes the deviceto navigate to a beginning of the current feature while a gesture havinga second direction opposite to the first direction causes the device tonavigate to a beginning of a next feature. As one example, a swipegesture to the left causes the device to display a beginning of the nextchapter, while a swipe gesture to the right causes the device to displaya beginning of the current chapter.

In some embodiments, the multi-contact gesture is (820) a two contactswipe gesture (e.g., the two contact swipe gesture including fingercontacts 517 and 519, FIG. 5I) and the second type of feature is asection break. For example, in response to detecting a two contact swipegesture, the device navigates to a next or previous section.

In some embodiments, the multi-contact gesture is (822) a two contactswipe gesture and the second type of feature is a chapter break. Forexample, in response to detecting a two contact swipe gesture, thedevice navigates to a next or previous chapter.

In some embodiments, the multi-contact gesture is (824) a three contactswipe gesture and the second type of feature is an annotation. Forexample, in response to detecting a three contact swipe gesture, thedevice navigates to a portion of the electronic document that includesor corresponds to a next or previous user annotation.

In some embodiments, the first gesture has (826) a direction (e.g., thefirst gesture is a swipe gesture). In accordance with a determinationthat the direction of the gesture includes a component in a firstdirection (e.g., to the left), the sequentially adjacent feature is animmediately subsequent feature (e.g., a next page, section, chapter,annotation, etc.). In accordance with a determination that the directionof the gesture includes a component in a second direction (e.g., to theright) that is opposite to the first direction, the sequentiallyadjacent feature is an immediately preceding feature (e.g., a previouspage, section, chapter, annotation, etc.). For example, in someembodiments, in response to a left-swipe gesture, the device navigatesto a portion of the document that includes a next (or subsequent)feature, and in response to a right-swipe gesture, the device navigatesto a portion of the document that includes a previous (or preceding)feature. In some embodiments, the device also navigates to a portion ofthe document that includes the previous (or preceding) feature inresponse to a diagonal right-up swipe or a right-down swipe, because theright-up swipe or the right-down swipe has a component in the rightdirection.

FIG. 9 is a flow diagram illustrating method 900 of displaying an arrayof annotated segment representations in accordance with someembodiments. Method 900 is performed at an electronic device (e.g.,device 300, FIG. 3, or portable multifunction device 100, FIG. 1) with adisplay and a touch-sensitive surface. In some embodiments, the displayis a touch screen display and the touch-sensitive surface is on thedisplay. In some embodiments, the display is separate from thetouch-sensitive surface. Some operations in method 900 may be combinedand/or the order of some operations may be changed.

As described below, method 900 provides an intuitive way to display anoverview of annotated segments of an electronic document and navigate toan annotated segment that a user wants. The method provides a display ofan overview of segments that are relevant to the user (e.g., the pagesthat include user annotations), thereby eliminating the need for theuser to go through segments that are not relevant (e.g., the pages thatdo not include user annotations). The method enables the user tonavigate to one of the displayed segments by selecting a representationof a segment. Thus, the method streamlines the process of navigating toan annotated segment of the electronic document that the user wants,thereby creating a more efficient human-machine interface. Forbattery-operated electronic devices, enabling the user to navigatefaster and more efficiently to an annotated segment that the user wantsconserves power and increases the time between battery charges.

The device displays (902) a portion of a multi-segment document. As usedherein with respect to method 900, a “segment” is a page in anelectronic document, a slide in a slideshow, a worksheet in aspreadsheet, an image in an album, or the like. A first set of segmentsof the multi-segment document each have one or more respectiveannotations and a second set of segments of the multi-segment documentdo not have annotations. For example, the pages in user interfaces 516-1(FIG. 5D), 516-6 (FIG. 5I), and 516-8 (FIG. 5K) have annotations (e.g.,note icons 508-1, 508-2, and 508-3 and highlighting 520-1), while thepage in user interface 516-7 (FIG. 5J) does not have annotations.

The device detects (904) a predefined gesture on the touch-sensitivesurface. In some embodiments, the predefined gesture is: a pinchgesture, a swipe gesture, or selection of a “display annotations”button. For example, in FIG. 5K, the device detects a pinch gestureincluding finger contacts 523 and 525.

In response to detecting the predefined gesture, the device displays(906) an array (e.g., a multi-row, multi-column grid) of segmentrepresentations that includes only representations of segments in thefirst set of segments (e.g., FIG. 5L). A plurality of respective segmentrepresentations in the array of segment representations each include avisual indication of a respective annotation associated with therespective segment for the respective segment representation. Forexample, the thumbnail images of the annotated pages in FIG. 5L eachinclude a visual indication of a note icon (e.g., 522-1, 522-2, and522-4 in user interface 516-9) and/or a visual indication ofhighlighting (e.g., 522-3).

In some embodiments, in response to detecting the predefined gesture,the device ceases (908) to display the portion of the multi-segmentdocument. For example, when the array of segment representations isdisplayed (e.g., FIG. 5L) in response to a pinch gesture on the userinterface 516-8 (FIG. 5K), the user interface 516-8 ceases to display ontouch screen 112.

In some embodiments, the visual indication of a respective annotationprovides (910) information about the type of annotation that isassociated with the visual indication. In some embodiments, the types ofannotations include: bookmarks, notes, highlighting, etc. In someembodiments, when the annotation is highlighting, the visual indicationis highlighting in a thumbnail of the respective segment of themulti-segment document (e.g., visual indication 522-3, FIG. 5L). In someembodiments, when the annotation is a note, the visual indication is a“note” icon (e.g., visual indication 522-1, FIG. 5L). In someembodiments, when the annotation is a bookmark, the visual indication isa bookmark icon.

In some embodiments, the segment representation (912) of a particularsegment is a thumbnail image of the particular segment (e.g., FIG. 5L),and the visual indicator for the particular segment is a reduced scalecopy of the annotation for the particular segment (e.g., text in thethumbnail is highlighted, a note is displayed at a location of the notein the page, etc.).

In some embodiments, a respective annotation has (914) a respectiveanchor position within a particular segment of the multi-segmentdocument. The segment representation of the particular segment is athumbnail of the particular segment (e.g., the three thumbnailrepresentations of annotated pages shown in FIG. 5L). The visualindicator for the particular segment is displayed at a location in thethumbnail that corresponds to the respective anchor position in theparticular segment. For example, a note icon 522-1 for a note that isassociated with text (e.g., “central nervous system”) in a page of adocument is displayed in a thumbnail of the page of the document at alocation in the thumbnail that corresponds to the location of the textin the page with which the note is associated.

In some embodiments, the device detects a user-selection of a respectivesegment representation in the array of segment representations. Inresponse to detecting the user-selection of the respective segmentrepresentation, the device ceases to display the array of segmentrepresentations, and displays a segment of the multi-segment documentthat corresponds to the respective segment representation selected bythe user.

FIG. 10 is a flow diagram illustrating method 1000 of navigating throughan electronic document with a navigation bar in accordance with someembodiments. Method 1000 is performed at an electronic device (e.g.,device 300, FIG. 3, or portable multifunction device 100, FIG. 1) with adisplay and a touch-sensitive surface. In some embodiments, the displayis a touch screen display and the touch-sensitive surface is on thedisplay. In some embodiments, the display is separate from thetouch-sensitive surface. Some operations in method 1000 may be combinedand/or the order of some operations may be changed.

As described below, method 1000 provides an intuitive way to navigatethrough an electronic document with a navigation bar. The methodprovides a navigation that displays a preview of a portion of theelectronic document that is relevant to the user (e.g., a page thatincludes a user annotation), thereby eliminating the need for the userto navigate to a portion that is not relevant (e.g., a page that doesnot include a user annotation). Thus, the method streamlines the processof navigating to an annotated portion of the electronic document thatthe user wants, thereby creating a more efficient human-machineinterface. For battery-operated electronic devices, enabling the user tonavigate faster and more efficiently to an annotated segment that theuser wants conserves power and increases the time between batterycharges.

The device concurrently displays (1002) a first portion of a document(e.g., a first page) and a navigation bar for navigating through thedocument (e.g., navigation bar 524, FIG. 5M).

The device detects (1004) a gesture at a location on the touch-sensitivesurface that corresponds to a portion of the navigation bar associatedwith a second portion of the document (e.g., a finger contact 527, FIG.5M). The second portion of the document includes a respectiveannotation.

In response to detecting the gesture, while continuing to display thefirst portion of the document, the device displays (1006), at a locationproximate to the portion of the navigation bar, a representation of thesecond portion of the document that includes a representation of therespective annotation (e.g., a thumbnail image of a correspondingannotated page of the electronic document). In some embodiments, thegesture corresponds to a contact that is detected for more than apredetermined period of time (e.g., 0.02, 0.05, 0.1, 0.2 seconds or anyreasonable time period) on the touch-sensitive surface.

In some embodiments, the representation of the second portion is (1008)displayed in a callout (e.g., an overlay) that covers at least asub-region of the first portion of the document (e.g., callout 526-1,FIG. 5N). In other words, the callout is a new user interface elementthat is displayed in addition to the first portion of the document andthe navigation bar and overlaps at least some of the first portion.

In some embodiments, the representation of the second portion includes(1010) a section title for the second portion. For example, the secondportion is a page in a chapter of an electronic document and the sectiontitle for the second portion is the title of the chapter (e.g., sectiontitle 534, FIG. 5N).

In some embodiments, the representation of the second portion includes(1012) a representative image from the second portion. For example, thesecond portion is a page in a chapter and the representative image is afirst figure in the chapter or a first figure on the page (e.g., image530-1).

In some embodiments, the respective annotation is (1014) highlighting oftext and the representation of the respective annotation includes thehighlighted text (e.g., highlighted text 528-2, FIG. 5N). In someembodiments, only the highlighted text is displayed in therepresentation of the second portion. In some embodiments, a block oftext including the highlighted text and other text is displayed in therepresentation of the second portion (e.g., the second portion is a pagethat includes a paragraph with a highlighted sentence and therepresentation is a callout that includes the text of the paragraph,including the highlighted text, so as to provide context for thehighlighted text).

In some embodiments, the respective annotation is (1016) a note and therepresentation of the respective annotation includes text of the note(e.g., some or all of the text of the note is included in therepresentation of the second portion). For example, in FIG. 5O, thecallout 526-2 includes a portion of the text of the note for thecorresponding page (e.g., “the report is due . . . ”). In someembodiments, the callout includes at least a portion of the text of thenote without any text of the primary content (e.g., without sectiontitle 534 and any other text of the primary content).

In some embodiments, the respective annotation is (1018) a bookmark andthe indication includes a bookmark icon (e.g., bookmark icon 532, FIG.5O).

In some embodiments, the second portion of the document is (1020) arespective page of the document. The representation of the secondportion of the document includes a thumbnail image (e.g., an image thatincludes a reduced-scale copy of the respective page) of the respectivepage with a representation of the respective annotation displayed in thethumbnail image (e.g., FIG. 5N). In some embodiments, the representationof the respective annotation is displayed at a location in the thumbnailthat corresponds to a location of the respective annotation in thesecond portion of the document.

In some embodiments, the document includes (1022) a plurality of pages(e.g., FIG. 5P). The representation of the second portion of thedocument includes representations of two or more pages in the document.In other words, the representation of the second portion includes both arepresentation of a respective page that corresponds to the secondportion of the document and representations of one or more consecutivepages that are sequentially adjacent to the respective page in thedocument.

In accordance with some embodiments, FIG. 11 shows a functional blockdiagram of an electronic device 1100 configured in accordance with theprinciples of the invention as described above. The functional blocks ofthe device may be implemented by hardware, software, or a combination ofhardware and software to carry out the principles of the invention. Itis understood by persons of skill in the art that the functional blocksdescribed in FIG. 11 may be combined or separated into sub-blocks toimplement the principles of the invention as described above. Therefore,the description herein may support any possible combination orseparation or further definition of the functional blocks describedherein.

As shown in FIG. 11, an electronic device 1100 includes a storage unit1106 configured to store a document having primary content,supplementary content, and user-generated content; a display unit 1102configured to display a representation of the document in a segmenteduser interface, wherein the primary content of the document is displayedin a first segment of the segmented user interface and the supplementarycontent of the document is concurrently displayed in a second segment ofthe segmented user interface distinct from the first segment; atouch-sensitive surface unit 1104 configured to receive a request toview user-generated content of the document; and a processing unit 1108coupled to the storage unit 1106, the display unit 1102, and thetouch-sensitive surface unit 1104. In some embodiments, the processingunit 1108 includes a display enabling unit 1110, a detecting unit 1112,a maintaining unit 1114, a ceasing unit 1116, a replacing unit 1118, acontracting unit 1120, and an expanding unit 1122.

The processing unit 1108 is configured to, in response to the request:maintain display of the previously displayed primary content on thedisplay unit 1102 (e.g., with the maintaining unit 1114); cease todisplay at least a portion of the previously displayed supplementarycontent on the display unit 1102 (e.g., with the ceasing unit 1116); andenable display of user-generated content of the document in a thirdsegment of the segmented user interface distinct from the first segmentand the second segment on the display unit 1102 (e.g., with the displayenabling unit 1110).

In some embodiments, the segments are dynamic regions of the userinterface.

In some embodiments, at least a portion of the supplementary content isdisplayed concurrently with the user-generated content on the displayunit 1102.

In some embodiments, the processing unit 1108 is configured to, prior toreceiving the request to view user-generated content, enable display ofrepresentations of the user-generated content in the segmented userinterface on the display unit 1102 (e.g., with the display enabling unit1110).

In some embodiments, the processing unit 1108 is configured to, inresponse to the request to view user-generated content, replace one ormore items of supplementary content with representations of the one ormore items of supplementary content in the second region (e.g., with thereplacing unit 1118).

In some embodiments, the processing unit 1108 is configured to: detectselection of a representation of a respective item of supplementarycontent (e.g., with the detecting unit 1112); and in response todetecting the selection of the representation, enable display of therespective item of supplementary content (e.g., with the displayenabling unit 1110).

In some embodiments, the processing unit 1108 is configured to, inresponse to the request to view user-generated content, contract thesecond region (e.g., with the contracting unit 1120) and expand thethird region (e.g., with the expanding unit 1122).

In some embodiments, receiving the request includes detecting selectionof a representation of user-generated content by a user of the device(e.g., with the detecting unit 1112).

In some embodiments, one or more items of supplementary content are eachassociated with a respective anchor position within the primary content;and a respective item of supplementary content is displayed on thedisplay unit 1102 at a location in the second region that is proximateto the respective anchor position for the respective item ofsupplementary content.

In some embodiments, one or more items of user-generated content areeach associated with a respective anchor position within the primarycontent; and a respective item of user-generated content is displayed onthe display unit 1102 at a location in the third region that isproximate to the respective anchor position for the respective item ofuser-generated content.

In some embodiments, the first region is displayed between the secondregion and the third region on the display unit 1102.

In some embodiments, the primary content consists primarily of text.

In some embodiments, the user-generated content includes annotationsassociated with the primary content.

In some embodiments, the user-generated content includes annotationsassociated with the supplementary content.

In some embodiments, ceasing to display at least a portion of thepreviously displayed supplementary content includes enabling display ofan animated transition of the segmented user interface sliding in apredefined direction so as to slide the second segment at leastpartially off of the display unit 1102 (e.g., with the display enablingunit 1110).

In some embodiments, the animated transition further comprises slidingthe third segment onto the display unit 1102.

In some embodiments, the sliding occurs in a direction that isperpendicular to a direction in which the content can be scrolled.

In accordance with some embodiments, FIG. 12 shows a functional blockdiagram of an electronic device 1200 configured in accordance with theprinciples of the invention as described above. The functional blocks ofthe device may be implemented by hardware, software, or a combination ofhardware and software to carry out the principles of the invention. Itis understood by persons of skill in the art that the functional blocksdescribed in FIG. 12 may be combined or separated into sub-blocks toimplement the principles of the invention as described above. Therefore,the description herein may support any possible combination orseparation or further definition of the functional blocks describedherein.

As shown in FIG. 12, an electronic device 1200 includes a storage unit1206 configured to store a document having primary content, andsupplementary content; and a display unit 1202 configured to displaycontent of the document in a first display mode of a documentpresentation application. The supplementary content is visuallyintegrated with the primary content in the first display mode. Theelectronic device 1200 also includes a touch-sensitive surface unit 1204configured to receive user input; and a processing unit 1208 coupled tothe storage unit 1206, the display unit 1202, and the touch-sensitivesurface unit 1204. In some embodiments, the processing unit 1208includes a display enabling unit 1210, a detecting unit 1212, anavigating unit 1214, a scrolling unit 1216, and a repositioning unit1218.

The processing unit 1208 is configured to: while the display unit 1202displays content of the document in the first display mode, receive arequest to display content of the document in a second display mode ofthe document presentation application; and, in response to the request,enable display of content of the document in the second display mode onthe display unit (e.g., with the display enabling unit 1210). Therepresentations of the supplementary content are visually segregatedfrom the primary content in the second display mode.

In some embodiments, the first display mode and the second display modeare both display modes for use by an end user to view the document onthe display unit 1202.

In some embodiments, visually integrating the supplementary content withthe primary content in the first display mode includes enabling displayof the supplementary content inline with the primary content on thedisplay unit 1202 (e.g., with the display enabling unit 1210).

In some embodiments, visually segregating the representations of thesupplementary content from the primary content in the second displaymode includes: enabling display of the primary content in a first regionof a user interface on the display unit 1202 that does not include thesupplementary content (e.g., with the display enabling unit 1210); andenabling display of the representations of the supplementary content ina second region of the user interface on the display unit 1202 that isdistinct from the first region of the user interface and that does notinclude the primary content (e.g., with the display enabling unit 1210).

In some embodiments, a plurality of items of supplementary content areconcurrently displayed on the display unit 1202 in the first displaymode.

In some embodiments, the first display mode is a creator-specifieddisplay mode in which the primary content and supplementary content arearranged in accordance with a template specified by a creator of thedocument.

In some embodiments, the second display mode is a text-review displaymode in which two or more portions of text in the primary content thatare displayed as distinct blocks of text in the creator-specifieddisplay mode are displayed in a same contiguous block of text on thedisplay unit 1202.

In some embodiments, an item of supplementary content is displayed at afirst size on the display unit 1202 in the first display mode; and arepresentation of the item of supplementary content is displayed in thesecond display mode. The representation of the item of supplementarycontent has a second size on the display unit 1202 that is smaller thanthe first size.

In some embodiments, in the first display mode, the supplementarycontent includes one or more items of supplementary content; and theprocessing unit 1208 is configured to, in the second display mode:enable display of one or more supplementary content icons on the displayunit 1202 that replace corresponding items of supplementary contentdisplayed in the first display mode (e.g., with the display enablingunit 1210); detect selection of a respective supplementary content icon(e.g., with the detecting unit 1212); and in response to detecting theselection, enable display of a corresponding item of supplementarycontent on the display unit 1202 (e.g., with the display enabling unit1210).

In some embodiments, the first display mode has a first contentadvancement direction with respect to a reading direction of text in theprimary content; and the second display mode has a second contentadvancement direction with respect to the reading direction of the textin the primary content that is distinct from the first contentadvancement direction.

In some embodiments, the primary content includes a plurality of pageboundaries, and the processing unit 1208 is configured to: detect arequest to navigate through the document (e.g., with the detecting unit1212); and in response to detecting the request to navigate through thedocument: in accordance with a determination that the device is in thefirst display mode, navigate to a sequentially adjacent page inaccordance with the page boundaries (e.g., with the navigating unit1214); and in accordance with a determination that the device is in thesecond display mode, enable scrolling through the document in accordancewith a magnitude of a value associated with the request (e.g., with thescrolling unit 1216).

In some embodiments, a respective item of supplementary content isassociated with a predefined portion of the primary content; therespective item of supplementary content is displayed on the displayunit 1202 proximate to the predefined portion of primary content in thefirst display mode; and a representation of the respective item ofsupplementary content is displayed on the display unit 1202 proximate tothe predefined portion of primary content in the second display mode.

In some embodiments, the processing unit 1208 is configured to, whileenabling display of the predefined portion of the primary content andthe representation of the respective item of supplementary content inthe second display mode: detect a request to navigate through theprimary content (e.g., with the detecting unit 1212); and in response todetecting the request to navigate through the primary content:reposition the predefined portion of the primary content to an updatedlocation on the display unit 1202 in accordance with the request tonavigate through the primary content (e.g., with the repositioning unit1218); and reposition the representation of the respective item ofsupplementary content on the display unit 1202 in accordance with theupdated location of the predefined portion of the primary content (e.g.,with the repositioning unit 1218).

In some embodiments, the display unit 1202 has a long axis and a shortaxis. In the first display mode, a reading direction of the text isaligned with the long axis. In the second display mode, the readingdirection of the text is aligned with the short axis.

In some embodiments, receiving the request to display content of thedocument in the second display mode includes detecting rotation of thedevice (e.g., with the detecting unit 1212).

In accordance with some embodiments, FIG. 13 shows a functional blockdiagram of an electronic device 1300 configured in accordance with theprinciples of the invention as described above. The functional blocks ofthe device may be implemented by hardware, software, or a combination ofhardware and software to carry out the principles of the invention. Itis understood by persons of skill in the art that the functional blocksdescribed in FIG. 13 may be combined or separated into sub-blocks toimplement the principles of the invention as described above. Therefore,the description herein may support any possible combination orseparation or further definition of the functional blocks describedherein.

As shown in FIG. 13, an electronic device 1300 includes a storage unit1306 configured to store a document having a plurality of featureshaving respective locations within the document. The plurality offeatures includes features of a first feature type in a first sequenceand features of a second feature type in a second sequence. The secondfeature type is distinct from the first feature type. The electronicdevice 1300 also includes a display unit 1302 configured to display atleast a portion of the document; a touch-sensitive surface unit 1304configured to detect a first gesture; and a processing unit 1308 coupledto the storage unit 1306, the display unit 1302, and the touch-sensitivesurface unit 1304. In some embodiments, the processing unit 1308includes a display enabling unit 1310, a detecting unit 1312, and anavigating unit 1314.

The processing unit 1308 is configured to, in response to detecting thefirst gesture (e.g., with the detecting unit 1312): in accordance with adetermination that the first gesture is a single contact gesture,navigate to a portion of the document that includes or is locatedproximate to a sequentially adjacent feature of the first feature typein the document (e.g., with the navigating unit 1314); and in accordancewith a determination that the first gesture is a multi-contact gesturewith a first predefined number of contacts, navigate to a portion of thedocument that includes or is located proximate to a sequentiallyadjacent feature of the second feature type in the document (e.g., withthe navigating unit 1314).

In some embodiments, the first feature type is a page or a page break.

In some embodiments, the second feature type is one of: a section, asection break, a chapter, a chapter break or an annotation.

In some embodiments, the first gesture is a swipe gesture.

In some embodiments, the multi-contact gesture is a two contact swipegesture and the second type of feature is a section break.

In some embodiments, the multi-contact gesture is a two contact swipegesture and the second type of feature is a chapter break.

In some embodiments, the multi-contact gesture is a three contact swipegesture and the second type of feature is an annotation.

In some embodiments, the first gesture has a direction. In accordancewith a determination that the direction of the gesture includes acomponent in a first direction, the sequentially adjacent feature is animmediately subsequent feature. In accordance with a determination thatthe direction of the gesture includes a component in a second directionthat is opposite to the first direction, the sequentially adjacentfeature is an immediately preceding feature.

In accordance with some embodiments, FIG. 14 shows a functional blockdiagram of an electronic device 1400 configured in accordance with theprinciples of the invention as described above. The functional blocks ofthe device may be implemented by hardware, software, or a combination ofhardware and software to carry out the principles of the invention. Itis understood by persons of skill in the art that the functional blocksdescribed in FIG. 14 may be combined or separated into sub-blocks toimplement the principles of the invention as described above. Therefore,the description herein may support any possible combination orseparation or further definition of the functional blocks describedherein.

As shown in FIG. 14, an electronic device 1400 includes a display unit1402 configured to display a portion of a multi-segment document. Afirst set of segments of the multi-segment document each have one ormore respective annotations and a second set of segments of themulti-segment document do not have annotations. The electronic device1400 also includes a touch-sensitive surface unit 1404 configured todetect a predefined gesture; and a processing unit 1408 coupled to thedisplay unit 1402 and the touch-sensitive surface unit 1404. In someembodiments, the processing unit 1406 includes a display enabling unit1408, a detecting unit 1410, and a ceasing unit 1412.

The processing unit 1406 is configured to, in response to detecting thepredefined gesture (e.g., with the detecting unit 1410), enable displayof an array of segment representations that includes onlyrepresentations of segments in the first set of segments (e.g., with thedisplay enabling unit 1408). A plurality of respective segmentrepresentations in the array of segment representations each include avisual indication of a respective annotation associated with therespective segment for the respective segment representation.

In some embodiments, the processing unit 1406 is configured to, inresponse to detecting the predefined gesture (e.g., with the detectingunit 1410), cease to display the portion of the multi-segment documenton the display unit 1402 (e.g., with the ceasing unit 1412).

In some embodiments, a visual indication of a respective annotationprovides information about the type of annotation that is associatedwith the visual indication.

In some embodiments, the segment representation of a particular segmentis a thumbnail image of the particular segment; and the visual indicatorfor the particular segment is a reduced scale copy of the annotation forthe particular segment.

In some embodiments, a respective annotation has a respective anchorposition within a particular segment of the multi-segment document. Thesegment representation of the particular segment is a thumbnail of theparticular segment. The visual indicator for the particular segment isdisplayed at a location in the thumbnail that corresponds to therespective anchor position in the particular segment.

In accordance with some embodiments, FIG. 15 shows a functional blockdiagram of an electronic device 1500 configured in accordance with theprinciples of the invention as described above. The functional blocks ofthe device may be implemented by hardware, software, or a combination ofhardware and software to carry out the principles of the invention. Itis understood by persons of skill in the art that the functional blocksdescribed in FIG. 15 may be combined or separated into sub-blocks toimplement the principles of the invention as described above. Therefore,the description herein may support any possible combination orseparation or further definition of the functional blocks describedherein.

As shown in FIG. 15, an electronic device 1500 includes a display unit1502 configured to concurrently display a first portion of a documentand a navigation bar for navigating through the document; and atouch-sensitive surface unit 1504 configured to detect a gesture at alocation on the touch-sensitive surface unit 1504 that corresponds to aportion of the navigation bar associated with a second portion of thedocument. The second portion of the document includes a respectiveannotation. The electronic device 1500 also includes a processing unit1506 coupled to the display unit 1502 and the touch-sensitive surfaceunit 1504. In some embodiments, the processing unit 1506 includes adisplay enabling unit 1508, and a detecting unit 1510.

The processing unit 1506 is configured to, in response to detecting thegesture (e.g., with the detecting unit 1510), while continuing to enabledisplay of the first portion of the document on the display unit 1502(e.g., with the display enabling unit 1508), enable display, at alocation proximate to the portion of the navigation bar, on the displayunit 1502 of a representation of the second portion of the document thatincludes a representation of the respective annotation (e.g., with thedisplay enabling unit 1508).

In some embodiments, the representation of the second portion isdisplayed on the display unit 1502 in a callout that covers at least asub-region of the first portion of the document.

In some embodiments, the representation of the second portion includes asection title for the second portion.

In some embodiments, the representation of the second portion includes arepresentative image.

In some embodiments, the respective annotation is highlighting of textand the representation of the respective annotation includes thehighlighted text.

In some embodiments, the respective annotation is a note and therepresentation of the respective annotation includes text of the note.

In some embodiments, the respective annotation is a bookmark and therepresentation of the respective annotation includes a bookmark icon.

In some embodiments, the second portion of the document is a respectivepage of the document; and the representation of the second portion ofthe document includes a thumbnail image of the respective page with arepresentation of the respective annotation displayed in the thumbnailimage on the display unit 1502.

In some embodiments, the document includes a plurality of pages; and therepresentation of the second portion of the document includesrepresentations of two or more pages in the document.

The operations in the information processing methods described above maybe implemented by running one or more functional modules in informationprocessing apparatus such as general purpose processors or applicationspecific chips. These modules, combinations of these modules, and/ortheir combination with general hardware (e.g., as described above withrespect to FIGS. 1A and 3) are all included within the scope ofprotection of the invention.

The operations described above with reference to FIGS. 6A-6C, 7A-7C, 8,9, and 10 may be implemented by components depicted in FIGS. 1A-1B. Forexample, receive operation 618, display operation 634, and detect anddisplay operations 638 may be implemented by event sorter 170, eventrecognizer 180, and event handler 190. Event monitor 171 in event sorter170 detects a contact on touch-sensitive display 112, and eventdispatcher module 174 delivers the event information to application136-1. A respective event recognizer 180 of application 136-1 comparesthe event information to respective event definitions 186, anddetermines whether a first contact at a first location on thetouch-sensitive surface (or whether rotation of the device) correspondsto a predefined event or sub-event, such as selection of an object on auser interface, or rotation of the device from one orientation toanother. When a respective predefined event or sub-event is detected,event recognizer 180 activates an event handler 190 associated with thedetection of the event or sub-event. Event handler 190 may utilize orcall data updater 176 or object updater 177 to update the applicationinternal state 192. In some embodiments, event handler 190 accesses arespective GUI updater 178 to update what is displayed by theapplication. Similarly, it would be clear to a person having ordinaryskill in the art how other processes can be implemented based on thecomponents depicted in FIGS. 1A-1B.

The foregoing description, for purpose of explanation, has beendescribed with reference to specific embodiments. However, theillustrative discussions above are not intended to be exhaustive or tolimit the invention to the precise forms disclosed. Many modificationsand variations are possible in view of the above teachings. Theembodiments were chosen and described in order to best explain theprinciples of the invention and its practical applications, to therebyenable others skilled in the art to best utilize the invention andvarious embodiments with various modifications as are suited to theparticular use contemplated.

What is claimed is:
 1. An electronic device, comprising: a display; atouch-sensitive surface; one or more processors; memory; and one or moreprograms, wherein the one or more programs are stored in the memory andconfigured to be executed by the one or more processors, the one or moreprograms including instructions for: displaying a portion of amulti-page document, wherein a first set of pages of the multi-pagedocument each have one or more respective annotations, and a second setof pages of the multi-page document do not have annotations; detecting apredefined gesture on the touch-sensitive surface; and in response todetecting the predefined gesture, displaying an array of thumbnailimages that includes only representations of pages in the first set ofpages, wherein a plurality of respective thumbnail images in the arrayof thumbnail images each include a visual indication of a respectiveannotation associated with the respective page for the respectivethumbnail image and wherein a respective thumbnail image is displayed ata reduced size relative to a corresponding page.
 2. The device of claim1, including instructions for, in response to detecting the predefinedgesture, ceasing to display the portion of the multi-page document. 3.The device of claim 1, wherein the visual indication of a respectiveannotation provides information about the type of annotation that isassociated with the visual indication.
 4. The device of claim 1,wherein: the visual indication for the particular page is a reducedscale copy of the annotation for the particular page.
 5. The device ofclaim 1, wherein: a respective annotation has a respective anchorposition within a particular page of the multi-page document; and thevisual indication for the particular page is displayed at a location inthe thumbnail that corresponds to the respective anchor position in theparticular page.
 6. A method, comprising: at an electronic device havinga display and a touch-sensitive surface: displaying a portion of amulti-page document, wherein a first set of pages of the multi-pagedocument each have one or more respective annotations, and a second setof pages of the multi-page document do not have annotations; detecting apredefined gesture on the touch-sensitive surface; and in response todetecting the predefined gesture, displaying an array of thumbnailimages that includes only representations of pages in the first set ofpages, wherein a plurality of respective thumbnail images in the arrayof thumbnail images each include a visual indication of a respectiveannotation associated with the respective page for the respectivethumbnail image and wherein a respective thumbnail image is displayed ata reduced size relative to a corresponding page.
 7. The method of claim6, including, in response to detecting the predefined gesture, ceasingto display the portion of the multi-page document.
 8. The method ofclaim 6, wherein the visual indication of a respective annotationprovides information about the type of annotation that is associatedwith the visual indication.
 9. The method of claim 6, wherein the visualindication for the particular page is a reduced scale copy of theannotation for the particular page.
 10. The method of claim 6, wherein:a respective annotation has a respective anchor position within aparticular page of the multi-page document; and the visual indicationfor the particular page is displayed at a location in the thumbnail thatcorresponds to the respective anchor position in the particular page.11. A non-transitory computer readable storage medium storing one ormore programs, the one or more programs comprising instructions, which,when executed by an electronic device with a display and atouch-sensitive surface, cause the device to: display a portion of amulti-page document, wherein a first set of pages of the multi-pagedocument each have one or more respective annotations, and a second setof pages of the multi-page document do not have annotations; detect apredefined gesture on the touch-sensitive surface; and in response todetecting the predefined gesture, display an array of thumbnail imagesthat includes only representations of pages in the first set of pages,wherein a plurality of respective thumbnail images in the array ofthumbnail images each include a visual indication of a respectiveannotation associated with the respective page for the respectivethumbnail image and wherein a respective thumbnail image is displayed ata reduced size relative to a corresponding page.
 12. The computerreadable storage medium of claim 11, including instructions that causethe device to, in response to detecting the predefined gesture, cease todisplay the portion of the multi-page document.
 13. The computerreadable storage medium of claim 11, wherein the visual indication of arespective annotation provides information about the type of annotationthat is associated with the visual indication.
 14. The computer readablestorage medium of claim 11, wherein the visual indication for theparticular page is a reduced scale copy of the annotation for theparticular page.
 15. The computer readable storage medium of claim 11,wherein: a respective annotation has a respective anchor position withina particular page of the multi-page document; and the visual indicationfor the particular segment is displayed at a location in the thumbnailthat corresponds to the respective anchor position in the particularpage.